aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/utils/logger_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'qtip/utils/logger_utils.py')
-rw-r--r--qtip/utils/logger_utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/qtip/utils/logger_utils.py b/qtip/utils/logger_utils.py
index e8817c3c..d5e76a64 100644
--- a/qtip/utils/logger_utils.py
+++ b/qtip/utils/logger_utils.py
@@ -62,4 +62,7 @@ class QtipLogger(Logger):
file_path = '{}/qtip/logs'.format(os.environ['HOME'])
def __init__(self, logger_name):
+ if not os.path.exists(self.file_path):
+ os.makedirs(self.file_path)
+
super(QtipLogger, self).__init__(logger_name)