Skip to content

Commit 8394813

Browse files
author
Juliya Smith
authored
Fix path (#69)
1 parent e4c0fa8 commit 8394813

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/code42cli/logger.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import logging, sys, traceback
1+
import os, logging, sys, traceback
22
from logging.handlers import RotatingFileHandler
33
from threading import Lock
44
import copy
@@ -35,7 +35,7 @@ def _get_standard_formatter():
3535

3636
def _get_error_log_path():
3737
log_path = get_user_project_path(u"log")
38-
return u"{}/{}".format(log_path, ERROR_LOG_FILE_NAME)
38+
return os.path.join(log_path, ERROR_LOG_FILE_NAME)
3939

4040

4141
def _create_error_file_handler():

0 commit comments

Comments
 (0)