Commit e6e3ec383b90a2fc95037b72d26c96e5985a338f

Authored by Antoine Goutenoir
1 parent 047d519b
Exists in master

There must be a PEP somewhere about this.

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
flaskr/geocoder.py
... ... @@ -4,6 +4,7 @@ import time
4 4  
5 5  
6 6 class CachedGeocoder:
  7 +
7 8 def __init__(self, source="Nominatim", geocache="geocache.db"):
8 9 self.geocoder = getattr(geopy.geocoders, source)()
9 10 self.cache = shelve.open(geocache, writeback=True)
... ...