fix: [worker 8] use join with bytes

pull/23/head
Terrtia 2019-03-29 09:46:46 +01:00
parent bb4998aa4b
commit a8014a2efc
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

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