Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Commit

Permalink
remove old logfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
kushalkolar committed Mar 11, 2021
1 parent 320a144 commit 9be13d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesmerize/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def move_old_logfiles(logger):
logger.info("Moving old logfiles...")
old_logfile = logfiles.pop(-1)
zlogfile.write(old_logfile, os.path.basename(old_logfile))
os.remove(logfiles[-1])
os.remove(old_logfile)
zlogfile.close()


Expand Down

0 comments on commit 9be13d3

Please sign in to comment.