From 1d37b1bc2df048b1bf68b7c5c0dfeebd992ca554 Mon Sep 17 00:00:00 2001 From: Kim Oliver Drechsel Date: Sun, 5 Dec 2021 18:12:45 +0100 Subject: [PATCH] add __init__.py --- __init__.py | 3 +++ loghandler.py | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 __init__.py diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..2846bf7 --- /dev/null +++ b/__init__.py @@ -0,0 +1,3 @@ +from loghandler import loghandler + +logger = loghandler() diff --git a/loghandler.py b/loghandler.py index 4844263..1bd6239 100644 --- a/loghandler.py +++ b/loghandler.py @@ -39,6 +39,3 @@ def loghandler(): _logger.addHandler(handler) return _logger - - -logger = loghandler()