From 226d1100e80384cf64fda760eda73358f66e54ce Mon Sep 17 00:00:00 2001 From: Charles Beauville Date: Thu, 13 Jun 2024 21:52:46 +0200 Subject: [PATCH] Fix pylint error --- src/py/flwr/superexec/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/py/flwr/superexec/app.py b/src/py/flwr/superexec/app.py index c9bb752cb718..532aefda426e 100644 --- a/src/py/flwr/superexec/app.py +++ b/src/py/flwr/superexec/app.py @@ -161,7 +161,7 @@ def _get_exec_plugin( if exec_plugin_dir is not None: sys.path.insert(0, exec_plugin_dir) - plugin_ref: str = getattr(args, "executor") + plugin_ref: str = args.executor valid, error_msg = validate(plugin_ref) if not valid and error_msg: raise LoadExecPluginError(error_msg) from None