diff --git a/gui/modules/pads/pad_name.py b/gui/modules/pads/pad_name.py index ae44632..c099520 100644 --- a/gui/modules/pads/pad_name.py +++ b/gui/modules/pads/pad_name.py @@ -9,6 +9,8 @@ import json def get_button_name(path: str, length: int = 24) -> str: + if not os.path.exists('temp'): + os.mkdir('temp') if not os.path.isfile('temp/' + '0' * 32): with open('temp/' + '0' * 32, 'w') as f: f.write('{}')