提交 2ecdaddf 编写于 作者: D dongshuilong

fix spell error for config.py

上级 db2be3b5
......@@ -137,12 +137,12 @@ def override(dl, ks, v):
if len(ks) == 1:
# assert ks[0] in dl, ('{} is not exist in {}'.format(ks[0], dl))
if not ks[0] in dl:
print('A new filed ({}) detected!'.format(ks[0], dl))
print('A new field ({}) detected!'.format(ks[0], dl))
dl[ks[0]] = str2num(v)
else:
if ks[0] not in dl.keys():
dl[ks[0]] = {}
print("A new Series filed ({}) detected!".format(ks[0], dl))
print("A new Series field ({}) detected!".format(ks[0], dl))
override(dl[ks[0]], ks[1:], v)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册