From 09d48fdb2e9ac2c259ff26f0ded734f6ef2564fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alban=20F=C3=A9ron?= Date: Sun, 1 Jan 2023 17:21:35 +0100 Subject: [PATCH] Fix pony leftover in jukebox --- supysonic/api/jukebox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supysonic/api/jukebox.py b/supysonic/api/jukebox.py index 70a53eb..95c07c3 100644 --- a/supysonic/api/jukebox.py +++ b/supysonic/api/jukebox.py @@ -89,7 +89,7 @@ def jukebox_control(): for path in status.playlist: try: playlist.append(Track.get(path=path)) - except ObjectNotFound: + except Track.DoesNotExist: pass rv["entry"] = [ t.as_subsonic_child(request.user, request.client) for t in playlist