fix folder tracks being None

This commit is contained in:
geoffrey45
2022-06-08 14:24:26 +03:00
parent 7b41d91b83
commit 84bf467d9f
7 changed files with 16 additions and 17 deletions
-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],