From 32769607ee772c4129a28375836f153fc995292e Mon Sep 17 00:00:00 2001 From: Yuhong Wen Date: Fri, 13 Dec 2024 19:34:25 -0500 Subject: [PATCH] Removed the extra client app custom path. (#3102) --- nvflare/private/fed/client/client_engine.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/nvflare/private/fed/client/client_engine.py b/nvflare/private/fed/client/client_engine.py index 7896da3501..143965bba9 100644 --- a/nvflare/private/fed/client/client_engine.py +++ b/nvflare/private/fed/client/client_engine.py @@ -152,12 +152,6 @@ def start_app( return f"{ERROR_MSG_PREFIX}: Client app does not exist. Please deploy it before starting client." app_custom_folder = os.path.join(app_root, "custom") - if os.path.isdir(app_custom_folder): - try: - sys.path.index(app_custom_folder) - except ValueError: - _remove_custom_path() - sys.path.append(app_custom_folder) self.logger.info("Starting client app. rank: {}".format(self.rank))