Commit e4f22521 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

QuerySet is an iterable, remove unrequired list(urls)

parent 196b1fd8
......@@ -246,7 +246,7 @@ class MirrorCheckPool(object):
def __init__(self, urls, location, timeout=10, num_threads=10):
self.tasks = Queue()
self.logs = deque()
for url in list(urls):
for url in urls:
self.threads = []
for _ in range(num_threads):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment