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 d1cc8c9 commit 9d8a60dCopy full SHA for 9d8a60d
Python_Engine/Python/src/python_toolkit/bhom/analytics.py
@@ -83,7 +83,7 @@ def wrapper(*args, **kwargs) -> Any:
83
exec_metadata["Errors"].extend(sys.exc_info())
84
raise exc
85
finally:
86
- log_file = BHOM_LOG_FOLDER / f"{function.__module__.split('.')[0]}_{datetime.now().strftime('%Y%m%d')}.log"
+ log_file = str(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:
89
ANALYTICS_LOGGER.handlers[0].close()
0 commit comments