fix print statement

This commit is contained in:
Michael Pilosov 2023-03-19 18:06:06 -06:00
parent c71bb5babf
commit 9996df0934

View File

@ -30,7 +30,7 @@ async def _announce_server(**kwargs):
break break
except Exception as e: except Exception as e:
print(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 asyncio.sleep(RETRY_INTERVAL)
# await sio.connect(f'http://{HOST_SERVER_IP}:{HOST_SERVER_PORT}') # await sio.connect(f'http://{HOST_SERVER_IP}:{HOST_SERVER_PORT}')
print("Connected to host") print("Connected to host")