Skip to content

Commit

Permalink
Merge pull request #251 from gopar/patch-1
Browse files Browse the repository at this point in the history
Update concurrent_scanner.py
  • Loading branch information
nabla-c0d3 committed Nov 6, 2017
2 parents 4f479d8 + 304904c commit b3b688c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sslyze/concurrent_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def _check_and_create_process(self, hostname):
else:
# We are already using the maximum number of processes
# Do not create a process and re-use a random existing hostname queue
self._hostname_queues_dict[hostname] = random.choice(self._hostname_queues_dict.values())
self._hostname_queues_dict[hostname] = random.choice(list(self._hostname_queues_dict.values()))
self._processes_dict[hostname] = []

else:
Expand Down

0 comments on commit b3b688c

Please sign in to comment.