@ -67,11 +67,11 @@ def report_attacks():
)
hosts = {}
for a in Attack.select():
# print(a.host)
if a.host in hosts:
hosts[a.host] = hosts[a.host] + 1
else:
hosts[a.host] = 1
print(a.host)
sorted_hosts = dict(sorted(hosts.items(), key=lambda x:x[1]))
The note is not visible to the blocked user.