removed prints

This commit is contained in:
n.diaz
2024-11-25 20:38:13 +01:00
parent 7ad2e4ab62
commit 3de6264eab

View File

@ -71,7 +71,6 @@ def report_attacks():
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]))
@ -260,7 +259,6 @@ async def info(ip, unblock=False):
def purge():
print(older_than)
found = Attack.select(Attack.ip).where(
(Attack.date < older_than.datetime ) )
for attack in found: