From 9642b180f6ca0f6803f183aa6708cac5f22e90a6 Mon Sep 17 00:00:00 2001 From: Robin Mueller <robin.mueller.m@gmail.com> Date: Fri, 27 Nov 2020 21:14:59 +0100 Subject: [PATCH] pip conformity --- core/tmtc_client_core.py | 1 + tmtc_client_cli.py | 2 ++ tmtc_client_gui.py | 4 +++- tmtc_core | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/core/tmtc_client_core.py b/core/tmtc_client_core.py index f8f2164..5bea5f9 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 48c02fb..89a10ee 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 6072202..0e1cab1 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 18ff3d7..1f4f33f 160000 --- a/tmtc_core +++ b/tmtc_core @@ -1 +1 @@ -Subproject commit 18ff3d7642c34718bf5178cb5ead301fc7c43075 +Subproject commit 1f4f33f92ae5b6abe92e89dedf7041ebdee4b63c -- GitLab