From 32fb9a0d7fa92c9bf26f619615c5b959e64601bc Mon Sep 17 00:00:00 2001 From: Feng4 Date: Sat, 19 Dec 2020 21:52:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3cover=5Fsmall=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=A8=8B=E5=BA=8F=E6=AD=A3=E5=B8=B8=E5=88=AE=E5=89=8A?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core.py b/core.py index 26ee2f0..080b32e 100755 --- a/core.py +++ b/core.py @@ -125,7 +125,9 @@ def get_data_from_json(file_number, filepath, conf: config.Config): # 从JSON if json_data.get('cover_small') == None: cover_small = '' - + else: + cover_small = json_data.get('cover_small') + imagecut = json_data.get('imagecut') tag = str(json_data.get('tag')).strip("[ ]").replace("'", '').replace(" ", '').split(',') # 字符串转列表 @ actor = str(actor_list).strip("[ ]").replace("'", '').replace(" ", '')