[Emrys] 2896: Macports 3.0.4 cannot view images

svn: r12715
This commit is contained in:
Benny Malengier 2009-06-26 09:45:34 +00:00
parent eb337a8d29
commit 48abb86bb8

View File

@ -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'