9 lines
121 B
Python
9 lines
121 B
Python
|
|
|
|
log.close()
|
|
if os.path.isfile("log.log"):
|
|
os.remove("log.log")
|
|
shutil.move("temp_log.log", "log.log")
|
|
|
|
|
|
# end of file
|