Fixed issue with fresh install
This commit is contained in:
@@ -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('{}')
|
||||
|
||||
Reference in New Issue
Block a user