fix get playlist tracks order

+ fix utils.get_home_res_path
This commit is contained in:
geoffrey45
2023-03-15 10:01:12 +03:00
parent 64bb4f75df
commit d21a834a00
7 changed files with 62 additions and 15 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ def save_p_image(file, pid: str):
filename = pid + str(random_str) + ".webp"
full_img_path = os.path.join(settings.APP_DIR, "images", "playlists", filename)
full_img_path = os.path.join(settings.PLAYLIST_IMG_PATH, filename)
if file.content_type == "image/gif":
frames = []