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()