From 1c0823bc233716cfe1c8975562ffb9a744632f09 Mon Sep 17 00:00:00 2001 From: Sam Manzi Date: Sat, 30 Apr 2016 10:02:31 +1000 Subject: [PATCH] Move Return out of block --- gramps/plugins/export/exportvcalendar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))