Skip to content

'int' object has no attribute 'replace' #5

Description

@RobSheppard1976

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions