4
core.py
4
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:
|
if json_data.get('cover_small') == None:
|
||||||
cover_small = ''
|
cover_small = ''
|
||||||
|
else:
|
||||||
|
cover_small = json_data.get('cover_small')
|
||||||
|
|
||||||
imagecut = json_data.get('imagecut')
|
imagecut = json_data.get('imagecut')
|
||||||
tag = str(json_data.get('tag')).strip("[ ]").replace("'", '').replace(" ", '').split(',') # 字符串转列表 @
|
tag = str(json_data.get('tag')).strip("[ ]").replace("'", '').replace(" ", '').split(',') # 字符串转列表 @
|
||||||
actor = str(actor_list).strip("[ ]").replace("'", '').replace(" ", '')
|
actor = str(actor_list).strip("[ ]").replace("'", '').replace(" ", '')
|
||||||
|
|||||||
Reference in New Issue
Block a user