Pi-Hole app that's available in Ocean (http://ocean.tingbot.com), isn't working.
However, there is a quick fix to get the app running again
Line=83 if i == 2:
Line=84 statText = state['stats'][stats_list[i]['json']] + "%"
Line=86 statText = state['stats'][stats_list[i]['json']]
If you remove '+ "%"' from line 84, then the app will work as intended.
I am fairly new to Python, but I think that the line 84 is trying to accomplish is to shorten the output of calculated results to two digits and adding an '%' as display(print?).
Example, how it will look now: 'Blocked ads' = "33.333333"
Trying to get result: 'Blocked ads' = "33.33%"
I understand that the app is a year old, and perhaps haven't been checked for months, but has this ever worked?
Could someone perhaps clarify?