From 7637edd1abc1df93d364597198e10571a18d53e9 Mon Sep 17 00:00:00 2001 From: Matt Kubilus Date: Thu, 28 Sep 2023 12:47:36 -0400 Subject: [PATCH] Cleanup a bit --- autoortho/autoortho.py | 6 ------ autoortho/config_ui.py | 3 --- 2 files changed, 9 deletions(-) diff --git a/autoortho/autoortho.py b/autoortho/autoortho.py index 919b8502..698c688d 100644 --- a/autoortho/autoortho.py +++ b/autoortho/autoortho.py @@ -312,10 +312,6 @@ def main(): if args.configure or (CFG.general.showconfig and not args.headless): # Show cfgui at start run_headless = False - #cfgui = config_ui.ConfigUI(CFG) - ## Block until 'Run' button hit unless headless - #cfgui.setup(headless = args.headless) - #cfgui.verify() else: # Don't show cfgui run_headless = True @@ -356,10 +352,8 @@ def main(): else: log.info("Running CFG UI") cfgui = AOMountUI(CFG) - # Block until 'Run' button hit unless headless cfgui.setup() - stats.stop() flighttrack.ft.stop() diff --git a/autoortho/config_ui.py b/autoortho/config_ui.py index 508f776d..0029cade 100644 --- a/autoortho/config_ui.py +++ b/autoortho/config_ui.py @@ -34,14 +34,11 @@ class ConfigUI(object): window = None running = False ready = None - run_ao = None splash_w = None def __init__(self, cfg): self.ready = threading.Event() self.ready.clear() - self.run_ao = threading.Event() - self.run_ao.clear() self.start_splash()