Skip to content

Commit

Permalink
tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jan 12, 2016
1 parent 1c514d6 commit 82c6a77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/netius/common/geo.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def _store_db(cls, contents, path = DB_NAME):
if __name__ == "__main__":
prefix = "~/"
if len(sys.argv) > 1: prefix = sys.argv[1]
if not prefix.endswith("/"): prefix += "/"
GeoResolver._try_db(
path = prefix + GeoResolver.DB_NAME,
download = True
Expand Down

0 comments on commit 82c6a77

Please sign in to comment.