diff --git a/gramps/plugins/export/exportvcalendar.py b/gramps/plugins/export/exportvcalendar.py index 5d27e245a..5d37dfa36 100644 --- a/gramps/plugins/export/exportvcalendar.py +++ b/gramps/plugins/export/exportvcalendar.py @@ -114,7 +114,7 @@ class CalendarWriter(object): self.writeln("") self.writeln("END:VCALENDAR") - return True + return True except IOError as msg: msg2 = _("Could not create %s") % filename self.user.notify_error(msg2, str(msg))