Fix spelling error

This commit is contained in:
Magnus Hagander
2020-04-20 09:45:01 +02:00
parent 417bb6e561
commit 9c69eed6e9

View File

@ -63,7 +63,7 @@ class PgwebAdmin(admin.ModelAdmin):
if not obj.org.email:
# Should not happen because we remove the form field. Thus
# a hard exception is ok.
raise Exception("Organisation does not have an email, canot send notification!")
raise Exception("Organisation does not have an email, cannot send notification!")
n = ModerationNotification()
n.objecttype = obj.__class__.__name__
n.objectid = obj.id