aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/process_queue.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/process_queue.py b/python/process_queue.py
index cfb96fc3..aa6eb99d 100644
--- a/python/process_queue.py
+++ b/python/process_queue.py
@@ -369,6 +369,7 @@ def terminate_list(
dest = get_filepath(base_dir, trade_type, termination["fund"])
if upload:
upload_buf(buf, dest.name)
+ dest.parent.mkdir(exists_ok=True)
dest.write_bytes(buf)
p.delete(key)