From c5e08f3a76433476c5f3dce1f910ca303f52fabc Mon Sep 17 00:00:00 2001 From: kalzu Date: Sun, 1 Jan 2023 22:55:04 +0200 Subject: [PATCH] Added the actual wanted functionality... --- btc_tracker/kraken_fetch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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Ā§