From cd4d7ad10ef5c3364e27d94cfd10ce712ca8b376 Mon Sep 17 00:00:00 2001 From: C2Coder Date: Sun, 21 Apr 2024 23:20:08 +0200 Subject: [PATCH] Fix --fetch-directkly --- projectIndexer.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/projectIndexer.py b/projectIndexer.py index e383978..c302962 100644 --- a/projectIndexer.py +++ b/projectIndexer.py @@ -65,6 +65,12 @@ def generate(github_token: str, fetch_directly: bool, input_repos: str, input_re repo.full_name: fetch_data.fetch_readme(repo) for repo in repos } + + contributors ={ + repo.full_name: + [[contributor.html_url, contributor.avatar_url, contributor.name, contributor.login, contributor.contributions,] for contributor in fetch_data.fetch_contributors(repo)] for repo in repos + } + else: repos = fetch_data.load_repo(input_repos) readme = fetch_data.load_readme(input_readme)