Cleanup & indentation fix
This commit is contained in:
parent
8d89d3c47e
commit
aa684bcebe
1 changed files with 24 additions and 25 deletions
|
@ -40,7 +40,6 @@ def callback(ch, method, properties, body):
|
||||||
sender = body[2]
|
sender = body[2]
|
||||||
reciever = body[3]
|
reciever = body[3]
|
||||||
demo_echo(text, sender, reciever)
|
demo_echo(text, sender, reciever)
|
||||||
print(body)
|
|
||||||
|
|
||||||
# This could be used to distribute messages to multiple servers. Just acknowledge message only if you should. (eq. based on rec number)
|
# This could be used to distribute messages to multiple servers. Just acknowledge message only if you should. (eq. based on rec number)
|
||||||
channel.basic_ack(delivery_tag=method.delivery_tag)
|
channel.basic_ack(delivery_tag=method.delivery_tag)
|
||||||
|
|
Loading…
Reference in a new issue