Update rpc_server.py

This commit is contained in:
Gerardo Tatzati 2023-07-27 09:40:19 -04:00
parent a2b6bab6e7
commit 107ba873f4

View File

@ -21,7 +21,7 @@ def fib(n):
def on_request(ch, method, props, body):
n = int(body)
print(" [.] fib(%s)" % n)
print(f" [.] fib({n})")
response = fib(n)
ch.basic_publish(exchange='',