Commit 48ba7ab5 authored by Fjen Undso's avatar Fjen Undso
Browse files

fix typo

parent 5f8ecc42
...@@ -35,7 +35,7 @@ def set_cache(tracks): ...@@ -35,7 +35,7 @@ def set_cache(tracks):
y_id = ':'.join(track.uri.split(':')[1:]) y_id = ':'.join(track.uri.split(':')[1:])
cache[y_id] = track cache[y_id] = track
cache_ids.append(y_id) cache_ids.append(y_id)
if len(cach_ids) > cache_max: if len(cache_ids) > cache_max:
del cache[cache_ids[0]] del cache[cache_ids[0]]
cache_ids = cache_ids[1:] cache_ids = cache_ids[1:]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment