Bugfix in generator

This commit is contained in:
Daniel Goldberg 2019-09-18 11:08:24 +03:00
parent d8d55cb546
commit 032ee2ee0e
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ def generate_victims(net_ranges, chunk_size):
chunk.append(victim)
if len(chunk) == chunk_size:
yield chunk
yield chunk
chunk = []
class NetworkScanner(object):