Update stats.py
This commit is contained in:
parent
5cd01c6116
commit
5eff1adaa8
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ while True:
|
||||||
DNSQUERIES = data["queries"]["total"]
|
DNSQUERIES = data["queries"]["total"]
|
||||||
ADSBLOCKED = data["queries"]["blocked"]
|
ADSBLOCKED = data["queries"]["blocked"]
|
||||||
CLIENTS = data["clients"]["total"]
|
CLIENTS = data["clients"]["total"]
|
||||||
except (KeyError, requests.RequestException, json.JSONDecodeError):
|
except (KeyError, requests.RequestException):
|
||||||
DNSQUERIES = 0
|
DNSQUERIES = 0
|
||||||
ADSBLOCKED = 0
|
ADSBLOCKED = 0
|
||||||
CLIENTS = 0
|
CLIENTS = 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue