Commit b608222d authored by AUTOMATIC's avatar AUTOMATIC

fix for broken image saving when using non-default directory

parent 657074a7
......@@ -84,7 +84,7 @@ def save_files(js_data, images):
data = json.loads(js_data)
with open("log/log.csv", "a", encoding="utf8", newline='') as file:
with open(os.path.join(opts.outdir_save, "log.csv"), "a", encoding="utf8", newline='') as file:
at_start = file.tell() == 0
writer = csv.writer(file)
if at_start:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment