Renames Old Log File if It Exists
This commit is contained in:
@@ -50,10 +50,6 @@ def main():
|
||||
with open(pickle_path) as pickle_file:
|
||||
save = pickle.load(pickle_file)
|
||||
|
||||
output_path = Path(args.outfile)
|
||||
if output_path.exists():
|
||||
output_path.rename(str(output_path) + ".backup")
|
||||
|
||||
except Exception as err:
|
||||
sys.exit(err)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user