move past_days to used var
This commit is contained in:
parent
926e72a685
commit
6cd1231ec5
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user