From 12f59e1daab94bed9d204a0200dc0a5ee79126fd Mon Sep 17 00:00:00 2001 From: yun saki Date: Fri, 26 Aug 2022 13:12:56 +0200 Subject: [PATCH] removed log.close(); 'with open' automatically closes the file --- scripts/dream.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/dream.py b/scripts/dream.py index ef7f6f3c56..88848da210 100755 --- a/scripts/dream.py +++ b/scripts/dream.py @@ -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):