Browse Source

coma

master
gsd 1 year ago
parent
commit
3f6938529a
  1. 12
      tradebot.facti13.external.py

12
tradebot.facti13.external.py

@ -81,13 +81,13 @@ class SteamClient(SteamPy.Client):
info(f"Logged in as: {self.user}") info(f"Logged in as: {self.user}")
asyncio.ensure_future(self.backend_checker(60)) asyncio.ensure_future(self.backend_checker(60))
async def on_connect(self): #async def on_connect(self):
await self.backend.pulse() # await self.backend.pulse()
ok("Success connect to steam") # ok("Success connect to steam")
async def on_disconnect(self): #async def on_disconnect(self):
await self.backend.pulse() # await self.backend.pulse()
ok("Disconnect from steam") # ok("Disconnect from steam")
async def update_prices(self, exit_if_error = False): async def update_prices(self, exit_if_error = False):
prices = await self.backend.prices(exit_if_error) prices = await self.backend.prices(exit_if_error)

Loading…
Cancel
Save