Skip to content

Commit

Permalink
Merge pull request #18 from aexeagmbh/patch-redis
Browse files Browse the repository at this point in the history
fix uuid generation
  • Loading branch information
andrewgodwin committed Sep 18, 2015
2 parents cadae83 + 503c5fd commit db602d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion channels/backends/redis_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def send(self, channel, message):
channel = channel.decode('utf-8')

# Write out message into expiring key (avoids big items in list)
key = self.prefix + uuid.uuid4().get_hex()
key = self.prefix + str(uuid.uuid4())
self.connection.set(
key,
json.dumps(message),
Expand Down

0 comments on commit db602d3

Please sign in to comment.