Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Commit

Permalink
converting unicode to str so dogpile cache wont complain anymore (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
skrzepto committed Jul 19, 2016
1 parent 9ebcf9b commit f4b498d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fmn/consumer/fmn_fasshim.py
Expand Up @@ -60,11 +60,11 @@ def make_fas_cache(**config):
for user in request['people']:
nick = user['ircnick']
if nick:
_cache.set(nick, user['username'])
_cache.set(str(nick), user['username'])

email = user['email']
if email:
_cache.set(email, user['username'])
_cache.set(str(email), user['username'])

del request

Expand Down

0 comments on commit f4b498d

Please sign in to comment.