Don't put colons in the log filenames
This commit is contained in:
parent
0f3f70c991
commit
25e0df291b
@ -27,7 +27,7 @@ class Logger(QObject):
|
|||||||
if not log_dir.is_dir():
|
if not log_dir.is_dir():
|
||||||
log_dir.mkdir()
|
log_dir.mkdir()
|
||||||
self._log_path = log_dir / datetime.datetime.now().strftime(
|
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}")
|
print(f"Logging to {self._log_path}")
|
||||||
self._start_time = time.time()
|
self._start_time = time.time()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user