mirror of
https://github.com/codingo/Interlace.git
synced 2025-12-17 23:04:24 +01:00
Fixed issues with TypeErrors
This commit is contained in:
@@ -69,6 +69,9 @@ class InputHelper(object):
|
||||
elif "-" in arguments.port:
|
||||
tmp_ports = arguments.port.split("-")
|
||||
ports = list(range(int(tmp_ports[0]), int(tmp_ports[1]) + 1))
|
||||
else:
|
||||
ports = [arguments.port]
|
||||
print(ports)
|
||||
|
||||
|
||||
# process targets first
|
||||
|
||||
Reference in New Issue
Block a user