From 88c00fc8555ab62fc85eaf699e6e23c7fd38d707 Mon Sep 17 00:00:00 2001 From: SOURCE Flatsat <source@flatsat.source.absatvirt.lw> Date: Tue, 18 Aug 2020 10:20:41 -0400 Subject: [PATCH] keyboard interrupt handler added --- obsw_tmtc_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/obsw_tmtc_client.py b/obsw_tmtc_client.py index d44712e..86934b2 100755 --- a/obsw_tmtc_client.py +++ b/obsw_tmtc_client.py @@ -153,6 +153,7 @@ class TmTcHandler: time.sleep(5) except (IOError, KeyboardInterrupt): LOGGER.info("Closing TMTC client.") + sys.exit() def handle_action(self): """ -- GitLab