Fix inverted condition in merging arguments

Signed-off-by: Tom Bu <tombu@tombu.info>
This commit is contained in:
Tom Bu 2022-03-01 17:54:19 -08:00 committed by Muayyad Alsadi
parent b78509527b
commit a735aa5b96

View File

@ -1140,7 +1140,7 @@ def rec_merge_one(target, source):
if key not in source:
continue
value2 = source[key]
if isinstance(value2, type(value)):
if not isinstance(value2, type(value)):
value_type = type(value)
value2_type = type(value2)
raise ValueError(