summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-10-12 17:22:33 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-10-12 17:22:33 +0800
commit2dda7f90927934bc5738287b2f8960a4d14bb07e (patch)
treed02048bfe6e82e9501c8496cdc89732012008e21 /utils
parentc8a687ee896eeb7b1184f88191fecd7f76e26c16 (diff)
solve log path cannot be found issue
JIRA: QTIP-124 Change-Id: I2ff94d01085ee8f057b9792988fe5ee9792fe740 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils')
-rw-r--r--utils/logger_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/logger_utils.py b/utils/logger_utils.py
index 5efc1ef5..e8817c3c 100644
--- a/utils/logger_utils.py
+++ b/utils/logger_utils.py
@@ -59,7 +59,7 @@ class Logger(object):
class QtipLogger(Logger):
- file_path = '~/qtip/logs'
+ file_path = '{}/qtip/logs'.format(os.environ['HOME'])
def __init__(self, logger_name):
super(QtipLogger, self).__init__(logger_name)