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