From 2219ad209d8485f4f4c78e67a8e9ee678c59eb56 Mon Sep 17 00:00:00 2001 From: H4CK3R-01 Date: Tue, 28 Mar 2023 11:58:14 +0200 Subject: [PATCH] Trigger api and bot build process --- api/app.py | 2 +- telegram_bot/bot.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/app.py b/api/app.py index 9bda824..b86d269 100644 --- a/api/app.py +++ b/api/app.py @@ -7,6 +7,6 @@ __version__ = "1.0.0" from app import create_app -# Create an application instance that web servers can use. + application = create_app('config/flask.cfg') application.run() diff --git a/telegram_bot/bot.py b/telegram_bot/bot.py index 778e10f..1289b42 100644 --- a/telegram_bot/bot.py +++ b/telegram_bot/bot.py @@ -655,6 +655,7 @@ def main_loop(): bot.infinity_polling() + if __name__ == '__main__': try: main_loop()