Update receive_logs.py
This commit is contained in:
parent
27934f93eb
commit
e179521452
@ -14,7 +14,7 @@ def main():
|
||||
channel.queue_bind(exchange='logs', queue=queue_name)
|
||||
|
||||
def callback(ch, method, properties, body):
|
||||
print(" [x] %r" % body.decode())
|
||||
print(f" [x] {body.decode()}")
|
||||
|
||||
print(' [*] Waiting for logs. To exit press CTRL+C')
|
||||
channel.basic_consume(
|
||||
|
Loading…
Reference in New Issue
Block a user