Skip to content

Commit 5eff1ad

Browse files
committed
Update stats.py
1 parent 5cd01c6 commit 5eff1ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Pi_Hole_Ad_Blocker/stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
DNSQUERIES = data["queries"]["total"]
102102
ADSBLOCKED = data["queries"]["blocked"]
103103
CLIENTS = data["clients"]["total"]
104-
except (KeyError, requests.RequestException, json.JSONDecodeError):
104+
except (KeyError, requests.RequestException):
105105
DNSQUERIES = 0
106106
ADSBLOCKED = 0
107107
CLIENTS = 0

0 commit comments

Comments
 (0)