1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

improve log file name readability

This commit is contained in:
checktheroads
2020-04-12 02:27:02 -07:00
parent b5be0da293
commit 6e4598c199

View File

@@ -178,7 +178,7 @@ class Params(HyperglassModel):
now = datetime.now()
now.isoformat
value = Path(
f'/tmp/hyperglass_{now.strftime(r"%Y%M%d-%H%M%S")}.log' # noqa: S108
f'/tmp/hyperglass_{now.strftime(r"%Y%M%d_%H-%M-%S")}.log' # noqa: S108
)
return value