Skip to content

Commit d5383d9

Browse files
tn3wtn3w
authored andcommitted
Fixed Code
1 parent afe95f7 commit d5383d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='flask_DDoSify',
5-
version='1.2.1',
5+
version='1.2.2',
66
description='Protect against bots and DDoS attacks',
77
long_description='A DDoS defense system for flask applications, first sends users to a captcha page without a javascript script and creates a confirmation cookie/url arg after the captcha.',
88
author='TN3W',

src/flask_DDoSify/ddosify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def __init__ (
122122
self.CAPTCHA_SECRET = generate_random_string(512)
123123

124124
if self.crawler_hints:
125-
self.crawler_hints_cache = list()
125+
self.crawler_hints_cache = dict()
126126

127127
app.before_request(self._set_ip)
128128
app.before_request(self._rate_limit)

0 commit comments

Comments
 (0)