From 859b03023820cfc6926f98014baebfb05fa636bf Mon Sep 17 00:00:00 2001 From: John Ralls Date: Fri, 6 Sep 2013 19:09:25 +0000 Subject: [PATCH] Bug 7040: 4.0.2 svn 23029M fails to start catastrophically svn: r23046 --- gramps/gui/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/utils.py b/gramps/gui/utils.py index aac264e61..be2dac9eb 100644 --- a/gramps/gui/utils.py +++ b/gramps/gui/utils.py @@ -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