Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
umohr-irs committed May 17, 2022
1 parent 35f96d1 commit 6229632
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tmtccmd/config/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class CoreModeList(enum.IntEnum):
GUI_MODE = 2
IDLE = 5
PROMPT_MODE = 6
CONTINOUS_MODE = 7 # will start a daemon handling tm and return after sending one tc
CONTINUOUS_MODE = 7 # will start a daemon handling tm and return after sending one tc


CoreModeStrings = {
Expand Down
4 changes: 2 additions & 2 deletions src/tmtccmd/core/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def start_listener(self, perform_op_immediately: bool = True):
LOGGER.error("Closing TMTC commander..")
self.__com_if.close()
sys.exit(1)
if self.mode == CoreModeList.CONTINOUS_MODE:
if self.mode == CoreModeList.CONTINUOUS_MODE:
self.daemon_receiver.start_daemon();
if perform_op_immediately:
self.perform_operation()
Expand Down Expand Up @@ -290,7 +290,7 @@ def __handle_action(self):
)
sender_and_receiver.send_queue_tc_and_receive_tm_sequentially()
self.mode = CoreModeList.LISTENER_MODE
elif self.mode == CoreModeList.CONTINOUS_MODE:
elif self.mode == CoreModeList.CONTINUOUS_MODE:
service_queue = deque()
service_queue_packer = ServiceQueuePacker()
service_queue_packer.pack_service_queue_core(
Expand Down

0 comments on commit 6229632

Please sign in to comment.