Skip to content

Commit ca948c6

Browse files
committed
fix real time gui bug
1 parent 6a4066d commit ca948c6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ test_waves/
2020
reconstructed/
2121
.python-version
2222
ruff.log
23+
/configs/inuse/

real-time-gui.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ def __init__(self) -> None:
317317

318318
def load(self):
319319
try:
320+
os.makedirs("configs/inuse", exist_ok=True)
320321
if not os.path.exists("configs/inuse/config.json"):
321322
shutil.copy("configs/config.json", "configs/inuse/config.json")
322323
with open("configs/inuse/config.json", "r") as j:

0 commit comments

Comments
 (0)