Somethign Ryyst told me...

This commit is contained in:
kalzu 2023-01-01 22:49:35 +02:00
parent 52d380a4ee
commit a60d269535

View File

@ -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():