mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
removed log.close(); 'with open' automatically closes the file
This commit is contained in:
parent
cf750f62db
commit
12f59e1daa
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user