Bug 7040: 4.0.2 svn 23029M fails to start catastrophically
svn: r23046
This commit is contained in:
parent
b58a76a1b6
commit
859b030238
@ -418,7 +418,7 @@ def open_file_with_default_application(path):
|
||||
if win():
|
||||
try:
|
||||
os.startfile(norm_path)
|
||||
except WindowsError, msg:
|
||||
except WindowsError as msg:
|
||||
display_error_dialog(0, str(msg))
|
||||
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user