Skip to content

Commit 3276960

Browse files
authored
Removed the extra client app custom path. (#3102)
1 parent 0be0bdf commit 3276960

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

nvflare/private/fed/client/client_engine.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,6 @@ def start_app(
152152
return f"{ERROR_MSG_PREFIX}: Client app does not exist. Please deploy it before starting client."
153153

154154
app_custom_folder = os.path.join(app_root, "custom")
155-
if os.path.isdir(app_custom_folder):
156-
try:
157-
sys.path.index(app_custom_folder)
158-
except ValueError:
159-
_remove_custom_path()
160-
sys.path.append(app_custom_folder)
161155

162156
self.logger.info("Starting client app. rank: {}".format(self.rank))
163157

0 commit comments

Comments
 (0)