From 47c957c330e3cbcec8bbc6d0c5e3840dd94bd4d0 Mon Sep 17 00:00:00 2001 From: thsrite Date: Fri, 29 Dec 2023 22:08:39 +0800 Subject: [PATCH] fix bug --- plugins/embyreporter/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/embyreporter/__init__.py b/plugins/embyreporter/__init__.py index 161e1f0..4b77bf9 100644 --- a/plugins/embyreporter/__init__.py +++ b/plugins/embyreporter/__init__.py @@ -368,7 +368,8 @@ class EmbyReporter(_PluginBase): # 合并绘制 if len(movies) < 5: - movies.extend([] * (5 - len(movies))) + for i in range(5 - len(movies) + 1): + movies.append({"item_id": i}) all_ranks = movies + tvshows index, offset_y = (-1, 0)