fix: artist albums always sending all albums

+ move setproctitle inside if __name__ in manage.py
This commit is contained in:
mungai-njoroge
2023-09-14 21:04:07 +03:00
parent bacf68248b
commit fcb705cb0c
5 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -297,7 +297,7 @@ def get_artist_albums(artisthash: str):
if artist is None:
return {"error": "Artist not found"}, 404
if return_all is not None:
if return_all is not None and return_all == "true":
limit = len(all_albums)
return {