mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 21:03:21 -07:00
Respect custom GeoLite2 path on reinstalling database
This commit is contained in:
parent
8b787e4ae0
commit
4d28e4603f
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ def install_geoip_db():
|
|||
md5_checksum = ''
|
||||
|
||||
temp_gz = os.path.join(plexpy.CONFIG.CACHE_DIR, geolite2_gz)
|
||||
geolite2_db = os.path.join(plexpy.DATA_DIR, geolite2_db)
|
||||
geolite2_db = plexpy.CONFIG.GEOIP_DB or os.path.join(plexpy.DATA_DIR, geolite2_db)
|
||||
|
||||
# Retrieve the GeoLite2 gzip file
|
||||
logger.debug(u"PlexPy Helpers :: Downloading GeoLite2 gzip file from MaxMind...")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue