From 9996df0934e572e468896b3079a5447556604186 Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Sun, 19 Mar 2023 18:06:06 -0600 Subject: [PATCH] fix print statement --- src/announce_server/decorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/announce_server/decorator.py b/src/announce_server/decorator.py index 40a30c1..c289166 100644 --- a/src/announce_server/decorator.py +++ b/src/announce_server/decorator.py @@ -30,7 +30,7 @@ async def _announce_server(**kwargs): break except Exception as e: print(e) - print("Failed to connect to host, retrying in 5 seconds") + print(f"Failed to connect to host, retrying in {RETRY_INTERVAL} seconds") await asyncio.sleep(RETRY_INTERVAL) # await sio.connect(f'http://{HOST_SERVER_IP}:{HOST_SERVER_PORT}') print("Connected to host")