fix: [worker 8] use binary type

pull/8/head
Terrtia 2019-02-20 09:08:28 +01:00
parent 3162f44e36
commit fca82b15b1
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ if __name__ == "__main__":
if id and data:
# reconstruct data
if buffer != b'':
data[b'message'] = '{}{}'.format(buffer, data[b'message'])
data[b'message'] = b'{}{}'.format(buffer, data[b'message'])
buffer = b''
# send data to redis