Running this script on Ubuntu 17.04. Followed instructions, and getting this error:
pihole@pihole:/etc$ sudo ./piholestats.sh
Traceback (most recent call last):
File "./piholestats.sh", line 47, in
domains_blocked = (API_out['domains_being_blocked']).replace(',', '')
AttributeError: 'int' object has no attribute 'replace'
Any ideas?
Running this script on Ubuntu 17.04. Followed instructions, and getting this error:
pihole@pihole:/etc$ sudo ./piholestats.sh
Traceback (most recent call last):
File "./piholestats.sh", line 47, in
domains_blocked = (API_out['domains_being_blocked']).replace(',', '')
AttributeError: 'int' object has no attribute 'replace'
Any ideas?