解决cover_small导致程序正常刮削问题

This commit is contained in:
Feng4
2020-12-19 21:52:55 +08:00
committed by GitHub
parent 2769f0d95b
commit 32fb9a0d7f

View File

@@ -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(" ", '')