[Emrys] 2896: Macports 3.0.4 cannot view images
svn: r12715
This commit is contained in:
parent
eb337a8d29
commit
48abb86bb8
@ -1134,7 +1134,7 @@ def open_file_with_default_application( file_path ):
|
||||
ErrorDialog(_("Error Opening File"), str(msg))
|
||||
else:
|
||||
search = os.environ['PATH'].split(':')
|
||||
if os.sys.platform='darwin':
|
||||
if os.sys.platform == 'darwin':
|
||||
utility = 'open'
|
||||
else:
|
||||
utility = 'xdg-open'
|
||||
|
Loading…
x
Reference in New Issue
Block a user