diff --git a/tradebot.facti13.external.py b/tradebot.facti13.external.py index 68c9ac9..26b31de 100644 --- a/tradebot.facti13.external.py +++ b/tradebot.facti13.external.py @@ -227,7 +227,7 @@ class SteamClient(SteamPy.Client): if __name__ == "__main__": print(f"Build date: {os.getenv('BUILDDATE', 'not set')}") backend = BackendClient() - asyncio.get_event_loop().run_until_complete(backend.pulse(True)) + asyncio.create_task(backend.pulse(True)) if not backend.up: print("backend not working down bot") sys.exit(200)