Skip to content

Commit

Permalink
fix gen_ip func
Browse files Browse the repository at this point in the history
Add return to end correctly, when the passed parameter is a string.
  • Loading branch information
Like0x authored and Like0x committed Nov 26, 2021
1 parent bedad92 commit 0ce39ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AlliN.py
Original file line number Diff line number Diff line change
Expand Up @@ -5059,7 +5059,7 @@ def gen_ip(ip):
if type(ip) is not list:
for ips in to_ips(ip.strip()):
yield ips

return
for i in ip:
for ips in to_ips(i.strip()):
yield ips
Expand Down

0 comments on commit 0ce39ca

Please sign in to comment.