mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-20 12:14:46 +03:00
Moved xdg-open to lowest priority
This commit is contained in:
parent
eff6c34bd1
commit
3796160546
|
@ -243,8 +243,6 @@ class XVViewer(UnixViewer):
|
||||||
|
|
||||||
|
|
||||||
if sys.platform not in ("win32", "darwin"): # unixoids
|
if sys.platform not in ("win32", "darwin"): # unixoids
|
||||||
if shutil.which("xdg-open"):
|
|
||||||
register(XDGViewer)
|
|
||||||
if shutil.which("display"):
|
if shutil.which("display"):
|
||||||
register(DisplayViewer)
|
register(DisplayViewer)
|
||||||
if shutil.which("gm"):
|
if shutil.which("gm"):
|
||||||
|
@ -253,6 +251,8 @@ if sys.platform not in ("win32", "darwin"): # unixoids
|
||||||
register(EogViewer)
|
register(EogViewer)
|
||||||
if shutil.which("xv"):
|
if shutil.which("xv"):
|
||||||
register(XVViewer)
|
register(XVViewer)
|
||||||
|
if shutil.which("xdg-open"):
|
||||||
|
register(XDGViewer)
|
||||||
|
|
||||||
|
|
||||||
class IPythonViewer(Viewer):
|
class IPythonViewer(Viewer):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user