Update core.py

This commit is contained in:
biaji 2019-10-25 23:07:16 +08:00 committed by GitHub
parent a0260d96cb
commit 3c6741ec82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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