diff --git a/btc_tracker/kraken_fetch.py b/btc_tracker/kraken_fetch.py index c54d871..4660ee4 100755 --- a/btc_tracker/kraken_fetch.py +++ b/btc_tracker/kraken_fetch.py @@ -423,7 +423,9 @@ if __name__ == "__main__": # Get the users public keys try: - user_publickeys = read_keys() + user_publickeys = read_keys() + except FileNotFoundError: + exit(1) # Start the data fetching backend processĀ§