Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
codejake committed Jan 16, 2025
1 parent 2b430d0 commit c1a6682
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# Uses maxmind.com databases (free)
import geoip2.database

# This is super sloppy, sorry. You should know how to Python in order to use this.
# This is super sloppy, sorry. You should know how to Python in order to use
# this. Feel free to bug me in the usual spots if you have a question.
with geoip2.database.Reader('./GeoLite2-City.mmdb') as reader:
with geoip2.database.Reader('./GeoLite2-ASN.mmdb') as areader:
with open("ips.txt") as f:
Expand Down

0 comments on commit c1a6682

Please sign in to comment.