forked from platypush/platypush
Enforced cast to string for any object posted to the Redis bus
This commit is contained in:
parent
4209385e01
commit
68dcdf8ccd
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class RedisBus(Bus):
|
|||
|
||||
def post(self, msg):
|
||||
""" Sends a message to the Redis queue """
|
||||
return self.redis.rpush(self.redis_queue, msg)
|
||||
return self.redis.rpush(self.redis_queue, str(msg))
|
||||
|
||||
|
||||
# vim:sw=4:ts=4:et:
|
||||
|
|
Loading…
Reference in a new issue