fix folder tracks being None

This commit is contained in:
geoffrey45 committed 2022-06-08 14:24:26 +03:00
1 parent 7b41d91b83
commit 84bf467d9f
7 files changed
+16 -17

No files matched your search

-3
View File
@@ -119,9 +119,6 @@ def search_load_more():
type = request.args.get("type")
index = int(request.args.get("index"))
print(type, index)
print(len(SEARCH_RESULTS["tracks"]))
if type == "tracks":
return {
"tracks": SEARCH_RESULTS["tracks"][index:index + 5],