Somethign Ryyst told me...
This commit is contained in:
parent
52d380a4ee
commit
a60d269535
@ -74,7 +74,7 @@ def read_keys():
|
|||||||
with open(KEYSFILE, "w", encoding='utf-8') as nfile:
|
with open(KEYSFILE, "w", encoding='utf-8') as nfile:
|
||||||
print('You seem be lacking the users key file, created example for you. Exiting')
|
print('You seem be lacking the users key file, created example for you. Exiting')
|
||||||
json.dump(empty_userkeys_json, nfile)
|
json.dump(empty_userkeys_json, nfile)
|
||||||
raise EmptyUsersFile('Error')
|
raise FileNotFoundError
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
def check_database():
|
def check_database():
|
||||||
|
Loading…
Reference in New Issue
Block a user