From 9784f8627bfa05cb9243c51154c616c2b3c91b91 Mon Sep 17 00:00:00 2001 From: falsycat Date: Sun, 23 Jul 2023 09:04:06 +0900 Subject: [PATCH] fix an issue that start message is not shown --- main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.py b/main.py index 4c23c37..e45bb25 100644 --- a/main.py +++ b/main.py @@ -14,8 +14,6 @@ with open("config.json", "r") as file: config = json.load(file) async def main(): - logging.info("#### TMM ####") - alive = True logging.basicConfig(level=logging.DEBUG) @@ -29,6 +27,7 @@ async def main(): loop.add_signal_handler(signal.SIGTERM, teardown) loop.add_signal_handler(signal.SIGINT, teardown) + logging.info("#### TMM ####") async with pybotters.Client(apis={"bitbank":config["auth"]}) as pb: player = Player(pb) pair = Pair(pb, config["pair"])