chore: code format

This commit is contained in:
Vlad Stan 2023-01-12 17:28:01 +02:00
parent 9a77a6e314
commit b4408e9d52

View File

@ -399,7 +399,9 @@ async def fetch_github_repo_info(org: str, repository: str):
detail=f"Cannot fetch extension releases: {releases_url}",
)
releases= [r for r in resp.json() if r["draft"] == False and r["prerelease"] == False]
releases = [
r for r in resp.json() if r["draft"] == False and r["prerelease"] == False
]
config_url = f"""https://raw.githubusercontent.com/{org}/{repository}/{repo["default_branch"]}/config.json"""
resp = await client.get(config_url)