diff --git a/app/flood.py b/app/flood.py index 31ee416..8160f4f 100644 --- a/app/flood.py +++ b/app/flood.py @@ -9,7 +9,6 @@ threshold = -1 def clear_banned(): global banned - print(banned) banned = {} def setup(violations_threshold = 100): @@ -34,4 +33,4 @@ def report(request_ip): def is_banned(request_ip): # More than X offences? - return active and banned.get(request_ip, 0) >= threshold \ No newline at end of file + return active and banned.get(request_ip, 0) >= threshold