Skip to content

Commit

Permalink
fix time stamp
Browse files Browse the repository at this point in the history
  • Loading branch information
walchko committed Aug 14, 2023
1 parent 30b5f18 commit a837e2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions the_collector/ver_2/collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def __set_name(self, fname):
ts = "/"
if self.timestamp:
ts += dt.datetime.today().isoformat(timespec='seconds') + "_"
ts = ts.replace(':','.')
fname = str(p.parent) + ts + str(p.name)
p = Path(fname)
return p
Expand Down

0 comments on commit a837e2d

Please sign in to comment.