Skip to content

Commit

Permalink
Make sure PEDALBOARD_TMP_DIR exists when starting
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Sep 28, 2024
1 parent 5d52614 commit 2fe8f73
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mod/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2fe8f73

Please sign in to comment.