Skip to content

Commit 5317123

Browse files
committed
🐛 use os.path.join instead of '+'
1 parent 31698b1 commit 5317123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonfilelogger/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class LogBase:
1010
"""
1111

1212
def __init__(self, folder: str = "./", filename: str = "log.json"):
13-
self.path = folder + filename
13+
self.path = os.path.join(folder, filename)
1414

1515
def assert_file_exists(self):
1616
"""

0 commit comments

Comments
 (0)