We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1807056 + 5c42854 commit 5097932Copy full SHA for 5097932
python/worker.py
@@ -11,7 +11,7 @@
11
12
13
def callback(ch, method, properties, body):
14
- print(" [x] Received %r" % body)
+ print(" [x] Received %r" % body.decode())
15
time.sleep(body.count(b'.'))
16
print(" [x] Done")
17
ch.basic_ack(delivery_tag=method.delivery_tag)
0 commit comments