From af5352191036bfc3983857f0c52be3c1a5c08f2e Mon Sep 17 00:00:00 2001 From: rajith Date: Tue, 12 Nov 2024 14:43:24 +0530 Subject: [PATCH] test failed example pipelines --- openfl/interface/cli.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/openfl/interface/cli.py b/openfl/interface/cli.py index 9937ddea01..f6cb9ae219 100755 --- a/openfl/interface/cli.py +++ b/openfl/interface/cli.py @@ -4,7 +4,6 @@ """CLI module.""" import logging import os -import pathlib import sys import time import warnings @@ -181,12 +180,7 @@ def cli(context, log_level, no_warnings): # Setup logging immediately to suppress unnecessary warnings on import # This will be overridden later with user selected debugging level disable_warnings() - log_file = os.getenv("LOG_FILE") - if log_file is None: - raise ValueError("LOG_FILE environment variable is not set") - - # Normalize the path - log_file = pathlib.Path(log_file).expanduser().resolve() + log_file = os.path.normpath(os.getenv("LOG_FILE")) setup_logging(log_level, log_file) sys.stdout.reconfigure(encoding="utf-8")