Move Return out of block

This commit is contained in:
Sam Manzi 2016-04-30 10:02:31 +10:00
parent eb4b4d083f
commit 1c0823bc23
No known key found for this signature in database
GPG Key ID: F4A16068AE36B402

View File

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