From efbfcb24297ce92c5f30cd1feeb8fc459363305d Mon Sep 17 00:00:00 2001 From: gsd Date: Sun, 29 Oct 2023 16:45:06 +0300 Subject: [PATCH] hh --- tradebot.facti13.external.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tradebot.facti13.external.py b/tradebot.facti13.external.py index 67f2bdb..8b91520 100644 --- a/tradebot.facti13.external.py +++ b/tradebot.facti13.external.py @@ -81,13 +81,13 @@ class SteamClient(SteamPy.Client): info(f"Logged in as: {self.user}") asyncio.ensure_future(self.backend_checker(60)) - #async def on_connect(self): - # await self.backend.pulse() - # ok("Success connect to steam") + async def on_connect(self): + await self.backend.pulse() + ok("Success connect to steam") - #async def on_disconnect(self): - # await self.backend.pulse() - # ok("Disconnect from steam") + async def on_disconnect(self): + await self.backend.pulse() + ok("Disconnect from steam") async def update_prices(self, exit_if_error = False): prices = await self.backend.prices(exit_if_error)