Bug 7040: 4.0.2 svn 23029M fails to start catastrophically

svn: r23046
This commit is contained in:
John Ralls 2013-09-06 19:09:25 +00:00
parent b58a76a1b6
commit 859b030238

View File

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