Skip to content

Commit 13dfe6c

Browse files
committed
fix
1 parent b3f205a commit 13dfe6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

processor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ def create_or_update_proxy(raw_protocol: Proxy.PROTOCOLS, auth_data, domain, por
282282
pass
283283
else:
284284
# doesn't exist, so create
285-
proxy = Proxy(raw_protocol=raw_protocol, auth_data=auth_data, domain=domain, port=port)
285+
proxy = Proxy(number_of_bad_checks=0, raw_protocol=raw_protocol, auth_data=auth_data, domain=domain,
286+
port=port)
286287
session.add(proxy)
287288

288289
if proxy.bad_proxy or proxy.uptime is None or proxy.uptime == 0:

0 commit comments

Comments
 (0)