From 2e77d2b81d5f9f7fcc0103a09dbc71dc9c0d4c02 Mon Sep 17 00:00:00 2001 From: Heng Pan Date: Wed, 22 Jan 2025 12:09:52 +0000 Subject: [PATCH] resolve conflicts --- src/py/flwr/cli/config_utils.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/py/flwr/cli/config_utils.py b/src/py/flwr/cli/config_utils.py index 98656b41753d..67a9ff341331 100644 --- a/src/py/flwr/cli/config_utils.py +++ b/src/py/flwr/cli/config_utils.py @@ -93,11 +93,6 @@ def load(toml_path: Path) -> Optional[dict[str, Any]]: return tomli.load(toml_file) except tomli.TOMLDecodeError: return None - with toml_path.open("rb") as toml_file: - try: - return tomli.load(toml_file) - except tomli.TOMLDecodeError: - return None def process_loaded_project_config(