Another fix

This commit is contained in:
krateng 2022-02-18 09:48:11 +01:00
parent dba31867c6
commit 9e4274f209
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def cached_wrapper(inner_func):
def invalidate_caches(scrobbletime):
for k in cache.keys():
if (k[2] is None or scrobbletime >= k[2]) and (k[3] is None or scrobbletime <= k[3]):
if (k[3] is None or scrobbletime >= k[3]) and (k[4] is None or scrobbletime <= k[4]):
del cache[k]