From 5eff1adaa85e52da04bea75e0da1c5f26d899e0c Mon Sep 17 00:00:00 2001 From: Mikey Sklar Date: Wed, 4 Jun 2025 11:56:01 -0700 Subject: [PATCH] Update stats.py --- Pi_Hole_Ad_Blocker/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pi_Hole_Ad_Blocker/stats.py b/Pi_Hole_Ad_Blocker/stats.py index 0e39361ce..25e093404 100644 --- a/Pi_Hole_Ad_Blocker/stats.py +++ b/Pi_Hole_Ad_Blocker/stats.py @@ -101,7 +101,7 @@ while True: DNSQUERIES = data["queries"]["total"] ADSBLOCKED = data["queries"]["blocked"] CLIENTS = data["clients"]["total"] - except (KeyError, requests.RequestException, json.JSONDecodeError): + except (KeyError, requests.RequestException): DNSQUERIES = 0 ADSBLOCKED = 0 CLIENTS = 0