diff options
-rw-r--r-- | qtip/utils/logger_utils.py | 3 | ||||
-rw-r--r-- | tox.ini | 1 |
2 files changed, 4 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) @@ -18,6 +18,7 @@ commands= --basetemp={envtmpdir} \ {posargs} setenv= + HOME = {envtmpdir} PYTHONPATH = {toxinidir} [testenv:pep8] |