Skip to content

Commit

Permalink
Auto-format code [skip actions]
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Jan 24, 2025
1 parent fb5d7cc commit 9169119
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion update.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ def format(self, record: LogRecord) -> str:
"https://github.com/AeonOrg/Aeon-MLTB",
) or os.getenv("UPSTREAM_REPO", "")

UPSTREAM_BRANCH = config_file.get("UPSTREAM_BRANCH", "") or os.getenv("UPSTREAM_BRANCH", "") or "main"
UPSTREAM_BRANCH = (
config_file.get("UPSTREAM_BRANCH", "")
or os.getenv("UPSTREAM_BRANCH", "")
or "main"
)

if UPSTREAM_REPO:
if path.exists(".git"):
Expand Down

0 comments on commit 9169119

Please sign in to comment.