Update core.py

This commit is contained in:
biaji 2019-10-25 22:59:39 +08:00 committed by GitHub
parent 9fb813ae97
commit a0260d96cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,6 +172,9 @@ def getDataFromJSON(file_number): #从JSON返回元数据
title = title.replace('<', '')
title = title.replace('>', '')
title = title.replace('|', '')
tmpArr = cover_small.split(',')
if len(tmpArr) > 0:
cover_small = tmpArr[0].strip('\"')
# ====================处理异常字符 END================== #\/:*?"<>|
naming_rule = eval(config['Name_Rule']['naming_rule'])