Skip to content

Commit

Permalink
Update ProxyCheck.py
Browse files Browse the repository at this point in the history
add self.db.changeTable(self.useful_proxy_queue)
  • Loading branch information
highroom authored Apr 5, 2018
1 parent 5ba4ed3 commit 0c38690
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Schedule/ProxyCheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def __init__(self, queue, item_dict):
self.item_dict = item_dict

def run(self):
self.db.changeTable(self.useful_proxy_queue)
while self.queue.qsize():
proxy = self.queue.get()
count = self.item_dict[proxy]
Expand All @@ -57,4 +58,4 @@ def run(self):
if __name__ == '__main__':
# p = ProxyCheck()
# p.run()
pass
pass

0 comments on commit 0c38690

Please sign in to comment.