Skip to content

Commit

Permalink
Fixing the inability to use a custom serializer, big thanks to @space…
Browse files Browse the repository at this point in the history
  • Loading branch information
waawal committed Jul 4, 2013
1 parent 803c0f0 commit ef823a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bottlehotqueue.py
Expand Up @@ -14,7 +14,7 @@ class HotQueuePlugin(object):
def __init__(self, host='localhost', port=6379, database=0,
keyword='queue', asjson=True, prefix="hotqueue"):
self.keyword = keyword
if asjson:
if asjson is True:
self.asjson = json
else:
self.asjson = asjson or None
Expand Down

0 comments on commit ef823a4

Please sign in to comment.