From d9911f61855acfa77b238909aa166bc3b6d192de Mon Sep 17 00:00:00 2001 From: littletomatodonkey <2120160898@bit.edu.cn> Date: Tue, 15 Jun 2021 14:39:30 +0800 Subject: [PATCH] Update config.py --- ppcls/utils/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppcls/utils/config.py b/ppcls/utils/config.py index 77057ff5..b92f0d94 100644 --- a/ppcls/utils/config.py +++ b/ppcls/utils/config.py @@ -137,7 +137,7 @@ 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: - logger.warning('A new filed ({}) detected!'.format(ks[0], dl)) + print('A new filed ({}) detected!'.format(ks[0], dl)) dl[ks[0]] = str2num(v) else: override(dl[ks[0]], ks[1:], v) -- GitLab