Skip to content

Commit 55374bd

Browse files
Print later
1 parent 3b471a4 commit 55374bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/receive.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@
88

99
channel.queue_declare(queue='hello')
1010

11-
print(' [*] Waiting for messages. To exit press CTRL+C')
12-
1311
def callback(ch, method, properties, body):
1412
print(" [x] Received %r" % body)
1513

1614
channel.basic_consume(callback,
1715
queue='hello',
1816
no_ack=True)
1917

18+
print(' [*] Waiting for messages. To exit press CTRL+C')
2019
channel.start_consuming()

0 commit comments

Comments
 (0)