From 1293fafd348ffd831829549a789731f04825d3f3 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 1 Oct 2023 16:47:47 +0800 Subject: [PATCH] fix --- app/modules/jellyfin/jellyfin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/jellyfin/jellyfin.py b/app/modules/jellyfin/jellyfin.py index 399f15e0..4349ad2d 100644 --- a/app/modules/jellyfin/jellyfin.py +++ b/app/modules/jellyfin/jellyfin.py @@ -192,7 +192,7 @@ class Jellyfin(metaclass=Singleton): res = RequestUtils().get_res(req_url) if res: result = res.json() - schemas.Statistic( + return schemas.Statistic( movie_count=result.get("MovieCount") or 0, tv_count=result.get("SeriesCount") or 0, episode_count=result.get("EpisodeCount") or 0