From a60d2695355f281b9355ab441553209e3e9b0a89 Mon Sep 17 00:00:00 2001 From: kalzu Date: Sun, 1 Jan 2023 22:49:35 +0200 Subject: [PATCH] Somethign Ryyst told me... --- btc_tracker/kraken_fetch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(): """