Don't put colons in the log filenames

This commit is contained in:
Jasper Blanckenburg 2023-02-01 22:58:46 +01:00
parent 0f3f70c991
commit 25e0df291b

View File

@ -27,7 +27,7 @@ class Logger(QObject):
if not log_dir.is_dir():
log_dir.mkdir()
self._log_path = log_dir / datetime.datetime.now().strftime(
"%Y-%m-%d_%H:%M:%S.csv"
"%Y-%m-%d_%H-%M-%S.csv"
)
print(f"Logging to {self._log_path}")
self._start_time = time.time()