Skip to content

Commit

Permalink
Fix nonexisting python3 method
Browse files Browse the repository at this point in the history
  • Loading branch information
katomaso committed Apr 17, 2016
1 parent 2a3d42c commit 521b848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbmail/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_settings(key, default):
'sms': 'dbmail.backends.sms',
'push': 'dbmail.backends.push',
})
_BACKEND = {v: k for k, v in BACKEND.iteritems()}
_BACKEND = {v: k for k, v in BACKEND.items()}
BACKENDS_MODEL_CHOICES = get_settings('DB_MAILER_BACKENDS_MODEL_CHOICES', (
(BACKEND.get('mail'), _('MailBox')),
(BACKEND.get('push'), _('Push')),
Expand Down

0 comments on commit 521b848

Please sign in to comment.