Commit 0464aad6 authored by Mattia Mancini's avatar Mattia Mancini

Reformat

parent 4da0534a
...@@ -2,6 +2,8 @@ import logging ...@@ -2,6 +2,8 @@ import logging
import argparse import argparse
from lib.opc_interface import connect_to_server, DEFAULT_URI from lib.opc_interface import connect_to_server, DEFAULT_URI
import numpy import numpy
# ----------------------------------MAIN CODE LOGIC # ----------------------------------MAIN CODE LOGIC
def setup_logging(): def setup_logging():
""" """
...@@ -34,6 +36,7 @@ def setup_command_argument_parser(): ...@@ -34,6 +36,7 @@ def setup_command_argument_parser():
return parser return parser
def main(): def main():
init() init()
parser = setup_command_argument_parser() parser = setup_command_argument_parser()
...@@ -53,5 +56,6 @@ def main(): ...@@ -53,5 +56,6 @@ def main():
client.close_session() client.close_session()
client.close_secure_channel() client.close_secure_channel()
if __name__=='__main__':
main() if __name__ == '__main__':
\ No newline at end of file main()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment