khanat-opennel-code/code/nel/tools/build_gamedata/generators/tagged_max_exporter_template/1_export_footer.py

10 lines
121 B
Python
Raw Normal View History

log.close()
if os.path.isfile("log.log"):
os.remove("log.log")
shutil.move("temp_log.log", "log.log")
# end of file