Skip to content

Commit cdf77ca

Browse files
authored
Add files via upload
1 parent 537fba9 commit cdf77ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

port_scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def main():
122122
parser = argparse.ArgumentParser(description=DESCRIPTION)
123123
args = parse_args(parser)
124124

125-
if args.n:
125+
if args.n is not None:
126126
install_nmap()
127127
if len(args.n) == 0:
128128
subprocess.run(["nmap", "-h"])

0 commit comments

Comments
 (0)