fix typos

This commit is contained in:
iclementine 2020-11-20 15:18:53 +08:00
parent 5e11ce0dcd
commit 6101c6ac86
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class Config(attrdict.AttrDict):
def merge_args(self, args):
args_dict = vars(args)
# remove options that is not passed via CLI
for k, v in args_dict:
for k, v in args_dict.items():
if v is None:
args_dict.pop(k)
args_dict.pop("config") # exclude config file path