From e321c5b197da9fd4097a5fa93c6cf242b7fd48f8 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sat, 4 Jan 2020 11:50:48 -0800 Subject: [PATCH] Fix GeoLite2 update log message to correct number of days from setting --- plexpy/helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plexpy/helpers.py b/plexpy/helpers.py index bc12a773..ae47f5cd 100644 --- a/plexpy/helpers.py +++ b/plexpy/helpers.py @@ -591,7 +591,8 @@ def update_geoip_db(): now = int(time.time()) if now - plexpy.CONFIG.GEOIP_DB_INSTALLED >= plexpy.CONFIG.GEOIP_DB_UPDATE_DAYS * 24 * 60 * 60: return install_geoip_db(update=True) - logger.info(u"Tautulli Helpers :: GeoLite2 database already updated within the last 30 days.") + logger.info(u"Tautulli Helpers :: GeoLite2 database already updated within the last %s days." + % plexpy.CONFIG.GEOIP_DB_UPDATE_DAYS) def install_geoip_db(update=False):