move past_days to used var

This commit is contained in:
dirtycajunrice 2019-04-23 23:28:29 -05:00
parent 926e72a685
commit 6cd1231ec5
No known key found for this signature in database
GPG Key ID: 291EE25B239FA5EE

View File

@ -21,7 +21,7 @@ TAUTULLI_URL = TAUTULLI_URL or CONFIG.data['auth'].get('tautulli_baseurl')
TAUTULLI_API_KEY = TAUTULLI_API_KEY or CONFIG.data['auth'].get('tautulli_apikey')
TODAY = date.today()
START_DATE = TODAY - timedelta(days=7)
START_DATE = TODAY - timedelta(days=PAST_DAYS)
SESSION = Session()
SESSION.params = {'apikey': TAUTULLI_API_KEY}