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 374c38e commit 869af9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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(str(key))
defaults[key[0]] = backend.spam_sensitivity
media.append((str(key[0]), key[1]))
defaults[str(key[0])] = backend.spam_sensitivity
return media, defaults

0 comments on commit 869af9e

Please sign in to comment.