From 6f069f83d466c10ed3819ef3ddc8c1086d274133 Mon Sep 17 00:00:00 2001 From: snowy Date: Sun, 26 May 2024 18:11:18 +0800 Subject: [PATCH] =?UTF-8?q?:memo:=20=E6=96=87=E6=A1=A3=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E7=89=B9=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index a9d81aa..647c8fb 100644 --- a/main.py +++ b/main.py @@ -23,6 +23,7 @@ if __name__ == "__mp_main__": nonebot.logger.error(f"An error occurred: {e}, Bug will be reported automatically.") liteyuki_api.bug_report(str(e.__repr__())) + if __name__ == "__main__": # Start as __main__ from liteyuki.utils.base.reloader import Reloader