diff --git a/core/tmtc_client_core.py b/core/tmtc_client_core.py index f8f216490ee6e8a3fdf932ba1ba0d784c119ba88..5bea5f9cf52eb8bae3e753563dd5ef01b09f1394 100755 --- a/core/tmtc_client_core.py +++ b/core/tmtc_client_core.py @@ -40,6 +40,7 @@ from utility.obsw_args_parser import parse_input_arguments LOGGER = get_logger() + def run_tmtc_client(use_gui: bool): """ Main method, reads input arguments, sets global variables and start TMTC handler. diff --git a/tmtc_client_cli.py b/tmtc_client_cli.py index 48c02fbe3b710e6d782bdb345d16760375c0aab8..89a10ee3d4a7c7b8f850083d82bbc66582ee15fd 100644 --- a/tmtc_client_cli.py +++ b/tmtc_client_cli.py @@ -27,8 +27,10 @@ Run this file with the -h flag to display options. """ from core.tmtc_client_core import run_tmtc_client + def main(): run_tmtc_client(False) + if __name__ == "__main__": main() diff --git a/tmtc_client_gui.py b/tmtc_client_gui.py index 60722026def47208fcd2bef2eb3e07607f2ea440..0e1cab1f23558fcd7e79da7556cff4f97c679c9c 100644 --- a/tmtc_client_gui.py +++ b/tmtc_client_gui.py @@ -26,8 +26,10 @@ limitations under the License. """ from core.tmtc_client_core import run_tmtc_client + def main(): run_tmtc_client(True) + if __name__ == "__main__": - main() \ No newline at end of file + main() diff --git a/tmtc_core b/tmtc_core index 18ff3d7642c34718bf5178cb5ead301fc7c43075..1f4f33f92ae5b6abe92e89dedf7041ebdee4b63c 160000 --- a/tmtc_core +++ b/tmtc_core @@ -1 +1 @@ -Subproject commit 18ff3d7642c34718bf5178cb5ead301fc7c43075 +Subproject commit 1f4f33f92ae5b6abe92e89dedf7041ebdee4b63c