Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfG authored Nov 15, 2021
1 parent f27e30d commit 255a718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cascade_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _update_dict_recursively(self, original: Dict, updater: Dict) -> Dict:
original[k] = dict()
else:
original[k] = self._update_dict_recursively(original.get(k, {}), v)
elif isintance(v, bool):
elif isinstance(v, bool):
original[k] = v # v is True or False
elif v or k not in original: # v is not None, or key does not exist yet
original[k] = v
Expand Down

0 comments on commit 255a718

Please sign in to comment.