Skip to content

Commit

Permalink
hotfix for cfg node (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyxclack authored Aug 15, 2022
1 parent ccbffbf commit ce5c2d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion federatedscope/core/configs/yacs_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def __init__(self, init_dict=None, key_list=None, new_allowed=False):

# Allow new attributes after initialisation
self.__dict__[CfgNode.NEW_ALLOWED] = new_allowed
return init_dict
# return init_dict

@classmethod
def _create_config_tree_from_dict(cls, dic, key_list):
Expand Down

0 comments on commit ce5c2d6

Please sign in to comment.