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