Update rpc_server.py
This commit is contained in:
parent
a2b6bab6e7
commit
107ba873f4
@ -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='',
|
||||
|
Loading…
Reference in New Issue
Block a user