forked from mirrors/thatmattlove-hyperglass
improve log file name readability
This commit is contained in:
parent
b5be0da293
commit
6e4598c199
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue