diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ui_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui_common.py b/modules/ui_common.py index cbb2495d..1db72092 100644 --- a/modules/ui_common.py +++ b/modules/ui_common.py @@ -107,7 +107,7 @@ def save_files(js_data, images, do_make_zip, index): if os.path.exists(logfile_path):
update_logfile(logfile_path, fields)
- with open(os.path.join(shared.opts.outdir_save, "log.csv"), "a", encoding="utf8", newline='') as file:
+ with open(logfile_path, "a", encoding="utf8", newline='') as file:
at_start = file.tell() == 0
writer = csv.writer(file)
if at_start:
|