diff options
Diffstat (limited to 'tor-metrics/relays.py')
-rw-r--r-- | tor-metrics/relays.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tor-metrics/relays.py b/tor-metrics/relays.py index 71afd9f..c8b94ea 100644 --- a/tor-metrics/relays.py +++ b/tor-metrics/relays.py @@ -52,6 +52,7 @@ class Relays: return None except Exception as err: print('Uncaught exception during onionoo fetch: %s' % err) + return None json_data = json.loads(api_response.decode('utf-8')) fixed_bw = self.fix_missing_observed_bandwidth(json_data) |