From 0464aad601968f4f6b1694593f465cd42889744d Mon Sep 17 00:00:00 2001 From: mancini <mancini@astron.nl> Date: Mon, 16 Mar 2020 11:29:31 +0100 Subject: [PATCH] Reformat --- crossecho_client.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/crossecho_client.py b/crossecho_client.py index 9e1d59c..b054811 100644 --- a/crossecho_client.py +++ b/crossecho_client.py @@ -2,6 +2,8 @@ import logging import argparse from lib.opc_interface import connect_to_server, DEFAULT_URI import numpy + + # ----------------------------------MAIN CODE LOGIC def setup_logging(): """ @@ -34,6 +36,7 @@ def setup_command_argument_parser(): return parser + def main(): init() parser = setup_command_argument_parser() @@ -53,5 +56,6 @@ def main(): client.close_session() client.close_secure_channel() -if __name__=='__main__': - main() \ No newline at end of file + +if __name__ == '__main__': + main() -- GitLab