Skip to content

Commit

Permalink
fix a 6 years old issue 🤦‍pinax#21
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondrej Chmelar committed Apr 5, 2019
1 parent 1bf0998 commit 374c38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pinax/notifications/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ def load_media_defaults():
defaults = {}
for key, backend in settings.PINAX_NOTIFICATIONS_BACKENDS.items():
# key is a tuple (medium_id, backend_label)
media.append(key)
media.append(str(key))
defaults[key[0]] = backend.spam_sensitivity
return media, defaults

0 comments on commit 374c38e

Please sign in to comment.