diff --git a/btc_tracker/kraken_fetch.py b/btc_tracker/kraken_fetch.py index 8dda463..c54d871 100755 --- a/btc_tracker/kraken_fetch.py +++ b/btc_tracker/kraken_fetch.py @@ -74,8 +74,8 @@ def read_keys(): with open(KEYSFILE, "w", encoding='utf-8') as nfile: print('You seem be lacking the users key file, created example for you. Exiting') json.dump(empty_userkeys_json, nfile) - raise EmptyUsersFile('Error') - return {} + raise FileNotFoundError + return {} def check_database(): """