Skip to content

Commit

Permalink
fix keys
Browse files Browse the repository at this point in the history
  • Loading branch information
jontsai committed Oct 24, 2017
1 parent 6225233 commit 75d6624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, cooldown_class=None, template=None):

def get_email_batch_cooldown_prekey(self, user, **kwargs):
prekey = ['email_batch', user.id,]
kw_values = [kwargs[key] for key in sorted(keys(kwargs))]
kw_values = [kwargs[key] for key in sorted(kwargs.keys())]
prekey += kw_values
return prekey

Expand Down

0 comments on commit 75d6624

Please sign in to comment.