Fix spelling error
authorMagnus Hagander <magnus@hagander.net>
Mon, 20 Apr 2020 07:45:01 +0000 (09:45 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 20 Apr 2020 08:49:33 +0000 (10:49 +0200)
pgweb/util/admin.py

index 26ba726b99d09e1166e5b2aff3b61ac8258f6dc8..f86a692df33321330fe22a7639cb112e877675d4 100644 (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