mirror of
https://github.com/codingo/Interlace.git
synced 2025-12-17 06:44:23 +01:00
Merge pull request #111 from machinexa2/patch-3
fix for https://github.com/codingo/Interlace/issues/109
This commit is contained in:
@@ -252,6 +252,7 @@ class InputHelper(object):
|
|||||||
ranges.add(arguments.target)
|
ranges.add(arguments.target)
|
||||||
else:
|
else:
|
||||||
target_file = arguments.target_list
|
target_file = arguments.target_list
|
||||||
|
if not os.path.exists(target_file):
|
||||||
if not sys.stdin.isatty():
|
if not sys.stdin.isatty():
|
||||||
target_file = sys.stdin
|
target_file = sys.stdin
|
||||||
ranges.update([target.strip() for target in target_file if target.strip()])
|
ranges.update([target.strip() for target in target_file if target.strip()])
|
||||||
|
|||||||
Reference in New Issue
Block a user