fix (wrong json structure)

This commit is contained in:
2026-01-30 14:38:18 +03:00
parent c9ed00bb78
commit 2dd772b52d
2 changed files with 48 additions and 48 deletions

View File

@@ -11,7 +11,7 @@ def parse_repos(file_path: str) -> list:
with open(file_path, "r", encoding="utf-8") as f:
data = json.load(f)
for repo in data.get("repositories", []):
repos.append(repo["path"])
repos.append(repo["url"])
return repos
repos = parse_repos("repositories.json")