From 2fe8f732fa759aa61876d0f358f3b52937791e3e Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 28 Sep 2024 19:02:41 +0200 Subject: [PATCH] Make sure PEDALBOARD_TMP_DIR exists when starting Signed-off-by: falkTX --- mod/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod/__init__.py b/mod/__init__.py index 3998841e..879f63c2 100644 --- a/mod/__init__.py +++ b/mod/__init__.py @@ -68,6 +68,9 @@ def check_environment(): else: os.makedirs(PEDALBOARD_TMP_DIR) + else: + os.makedirs(PEDALBOARD_TMP_DIR) + # remove temp files for path in (CAPTURE_PATH, PLAYBACK_PATH, UPDATE_CC_FIRMWARE_FILE): if os.path.exists(path):