Skip to content

Commit

Permalink
🐛Fixed legacy typo
Browse files Browse the repository at this point in the history
  • Loading branch information
carefree0910 committed Dec 22, 2020
1 parent 91dfc43 commit 8de370e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cflearn/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ def affected_mappings() -> Dict[str, Set[str]]:

@property
def user_defined_config(self) -> Dict[str, Any]:
user_config = shallow_copy_dict(self.user_config) or {}
user_increment_config = shallow_copy_dict(self.user_increment_config) or {}
user_config = shallow_copy_dict(self.user_config or {})
user_increment_config = shallow_copy_dict(self.user_increment_config or {})
return update_dict(user_increment_config, user_config)

def to_config(self) -> Dict[str, Any]:
Expand Down

0 comments on commit 8de370e

Please sign in to comment.