We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 701555a commit e54fb61Copy full SHA for e54fb61
Python_Engine/Python/src/python_toolkit/bhom/analytics.py
@@ -85,7 +85,7 @@ def wrapper(*args, **kwargs) -> Any:
85
finally:
86
log_file = BHOM_LOG_FOLDER / f"{function.__module__.split('.')[0]}_{datetime.now().strftime('%Y%m%d')}.log"
87
88
- if ANALYTICS_LOGGER.handlers[0].baseFilename != log_file:
+ if ANALYTICS_LOGGER.handlers[0].baseFilename != str(log_file):
89
ANALYTICS_LOGGER.handlers[0].close()
90
ANALYTICS_LOGGER.handlers[0].baseFilename = str(log_file)
91
0 commit comments