removed log.close(); 'with open' automatically closes the file

This commit is contained in:
yun saki 2022-08-26 13:12:56 +02:00
parent cf750f62db
commit 12f59e1daa

View File

@ -121,7 +121,6 @@ def main():
with open(log_path, 'a') as log:
cmd_parser = create_cmd_parser()
main_loop(t2i, opt.outdir, cmd_parser, log, infile)
log.close()
def main_loop(t2i, outdir, parser, log, infile):