diff --git a/federatedscope/core/configs/yacs_config.py b/federatedscope/core/configs/yacs_config.py index 9606550ae..cd1c6ae00 100644 --- a/federatedscope/core/configs/yacs_config.py +++ b/federatedscope/core/configs/yacs_config.py @@ -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):