更新64 行写错的False 改为 false
This commit is contained in:
zy7y 2021-01-18 12:16:54 +08:00 committed by Gitee
parent cbc97bd042
commit fdfa90b2fc
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ def convert_json(dict_str: str) -> dict:
dict_str = dict_str.replace('null', 'None')
elif 'true' in dict_str:
dict_str = dict_str.replace('true', 'True')
elif 'False' in dict_str:
elif 'false' in dict_str:
dict_str = dict_str.replace('false', 'False')
dict_str = eval(dict_str)
logger.error(e)