From 59f04b68a7b0c65ba6c43c4ac0b2b376866d645d Mon Sep 17 00:00:00 2001 From: GamerNoTitle Date: Thu, 31 Aug 2023 12:50:08 +0800 Subject: [PATCH] disabled debug code --- main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 2345b9c..6be2198 100644 --- a/main.py +++ b/main.py @@ -21,12 +21,12 @@ sentry_sdk.init( ) # Running in Github Action, use this to get the config -# conf = json.loads(os.environ.get('config')) +conf = json.loads(os.environ.get('config')) # Running locally, use this to get the config -with open('config.json') as f: - conf = json.loads(f.read()) - +# with open('config.json') as f: +# conf = json.loads(f.read()) + if type(conf) == type(list()): pass elif type(conf) == type(dict()):