mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-18 01:11:20 -05:00
removed log.close(); 'with open' automatically closes the file
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user