From 5fc492f43f51b5a4dbda226523d20f5b66c99ccd Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Sat, 23 May 2020 22:49:38 -0500 Subject: [PATCH] another bug fix Signed-off-by: Arthur Lu --- tra.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tra.py b/tra.py index 4c53ee9..06e41da 100644 --- a/tra.py +++ b/tra.py @@ -26,7 +26,8 @@ def main(): global metric_enable global pit_enable - global config = su.load_config("config.json") + global config + config = su.load_config("config.json") task = threading.Thread(name = "match", target = match) task.start()