[Emrys] 2896: Macports 3.0.4 cannot view images
svn: r12716
This commit is contained in:
parent
e5d8544a6c
commit
dc354dfd4f
@ -214,7 +214,7 @@ def open_file_with_default_application( file_path ):
|
||||
except WindowsError, msg:
|
||||
ErrorDialog(_("Error Opening File"), str(msg))
|
||||
else:
|
||||
if os.sys.platform='darwin':
|
||||
if os.sys.platform == 'darwin':
|
||||
utility = 'open'
|
||||
else:
|
||||
utility = 'xdg-open'
|
||||
|
Loading…
Reference in New Issue
Block a user