mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 07:22:37 -07:00
Force reinstall of GeoLite2 database
This commit is contained in:
parent
0428df8e3f
commit
ee91da2ff1
3 changed files with 3 additions and 4 deletions
|
@ -585,7 +585,7 @@ def is_valid_ip(address):
|
|||
|
||||
|
||||
def update_geoip_db():
|
||||
if plexpy.CONFIG.GEOIP_DB_INSTALLED > 1:
|
||||
if plexpy.CONFIG.GEOIP_DB_INSTALLED:
|
||||
logger.info(u"Tautulli Helpers :: Checking for GeoLite2 database updates.")
|
||||
now = int(time.time())
|
||||
if now - plexpy.CONFIG.GEOIP_DB_INSTALLED >= plexpy.CONFIG.GEOIP_DB_UPDATE_DAYS * 24 * 60 * 60:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue