Skip to content
Snippets Groups Projects
Unverified Commit 29c1f2cd authored by Piero Toffanin's avatar Piero Toffanin Committed by GitHub
Browse files

Remove print

parent f7d7731f
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment