diff --git a/src/gate_guard.py b/src/gate_guard.py index 6cb73ad..d607151 100644 --- a/src/gate_guard.py +++ b/src/gate_guard.py @@ -46,7 +46,7 @@ class gate_guard: def run(self): - if self.__gate_state() == "unknown": + if self.__gate_state.get_state() == "unknown": self.handle_gate_state() try: