Fixed issue with fresh install

This commit is contained in:
BarsTiger
2023-01-17 18:37:45 +02:00
parent 77b18a3a0b
commit 3bd5af8845

View File

@@ -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('{}')