From 5399fc4fde25de539d8c730649c1624280cbf781 Mon Sep 17 00:00:00 2001 From: Emanuele Date: Fri, 27 Sep 2019 15:57:44 +0200 Subject: [PATCH] Aggiunto logging --- MkpWIFI/mainDime.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MkpWIFI/mainDime.py b/MkpWIFI/mainDime.py index a15825d..f1ffa16 100644 --- a/MkpWIFI/mainDime.py +++ b/MkpWIFI/mainDime.py @@ -16,7 +16,7 @@ def main(): pass if __name__ == '__main__': - # Setup Logger + # Setup Logger LOGGER = logging.getLogger(__name__) LOGGER.setLevel(logging.DEBUG) LOGGER.propagate = False @@ -34,5 +34,6 @@ if __name__ == '__main__': LOGGER.addHandler(cl) LOGGER.warning("MarcaturaDime Started!") + sys.exit(main()) pass \ No newline at end of file