Skip to content
This repository has been archived by the owner on Apr 6, 2018. It is now read-only.

Commit

Permalink
Code error when looking for non-existing ASN files
Browse files Browse the repository at this point in the history
  • Loading branch information
uforia committed Apr 14, 2017
1 parent 6b287a3 commit b608b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netchecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def BuildNetblocks(ASNs,options):
with open(GeoIPv6,'rb') as f:
IPv6ASNs=tuple(csv.reader(f))
except IOError:
print("E) Error opening/reading ASN file(s): "+IPv4ASNs+" or "+IPv6ASNs+"!")
print("E) Error opening/reading ASN file(s): "+GeoIP+" or "+GeoIPv6+"!")
sys.exit(1)
netblocks={}
if options.verbose:
Expand Down

0 comments on commit b608b94

Please sign in to comment.