Skip to content

Commit d1cc8c9

Browse files
Path object to string
1 parent 2cf60cf commit d1cc8c9

File tree

1 file changed

+1
-1
lines changed
  • Python_Engine/Python/src/python_toolkit/bhom/logging

1 file changed

+1
-1
lines changed

Python_Engine/Python/src/python_toolkit/bhom/logging/file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
formatter = logging.Formatter("%(message)s")
1414
handler = RotatingFileHandler(
15-
BHOM_LOG_FOLDER / f"{TOOLKIT_NAME}_{datetime.now().strftime('%Y%m%d')}.log",
15+
str(BHOM_LOG_FOLDER / f"{TOOLKIT_NAME}_{datetime.now().strftime('%Y%m%d')}.log"),
1616
mode="a",
1717
maxBytes=25 * 1024 * 1024, # 25mb max before file overwritten
1818
backupCount=1,

0 commit comments

Comments
 (0)