Fix debug-logger float rounding issue

This commit is contained in:
DevilXD committed 2023-08-16 22:26:49 +02:00
1 parent 29fa220238
commit 643a9f9300
1 file changed
+1 -1
+1 -1
View File
@@ -130,7 +130,7 @@ class Websocket:
aiohttp.ClientConnectionError, aiohttp.ClientConnectionError,
): ):
ws_logger.info( ws_logger.info(
f"Websocket[{self._idx}] connection problem (sleep: {delay:.3}s)", f"Websocket[{self._idx}] connection problem (sleep: {round(delay)}s)",
exc_info=True, exc_info=True,
) )
await asyncio.sleep(delay) await asyncio.sleep(delay)