Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rajithkrishnegowda committed Nov 12, 2024
2 parents af53521 + 3852711 commit 3cb9ae4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
permissions:
contents: read

env:
# A workaround for long FQDN names provided by GitHub actions.
FQDN: "localhost"

jobs:
lint: # from lint.yml
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
permissions:
contents: read

env:
# A workaround for long FQDN names provided by GitHub actions.
FQDN: "localhost"

jobs:
pytest-coverage: # from pytest_coverage.yml
runs-on: windows-latest
Expand Down
2 changes: 1 addition & 1 deletion openfl/interface/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +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.path.normpath(os.getenv("LOG_FILE"))
log_file = str(os.path.normpath(os.getenv("LOG_FILE")))
setup_logging(log_level, log_file)
sys.stdout.reconfigure(encoding="utf-8")

Expand Down

0 comments on commit 3cb9ae4

Please sign in to comment.