diff --git a/contributors/__init__.py b/contributors/__init__.py index a8456e3..4367897 100644 --- a/contributors/__init__.py +++ b/contributors/__init__.py @@ -65,7 +65,7 @@ def main(): environment.link_to_profile, environment.show_organizations_list, ) - # TODO HCookie Fix to json + json_writer.write_to_json( filename="{environment.filename}.json", start_date=environment.start_date, diff --git a/contributors/markdown.py b/contributors/markdown.py index 49914e0..9c7d974 100644 --- a/contributors/markdown.py +++ b/contributors/markdown.py @@ -191,7 +191,9 @@ def get_contributor_table( contribution_count = collaborator.contribution_count if repository: commit_urls = collaborator.commit_url - print(repository, type(repository)) + + if not isinstance(repository, list): + repository = [repository] if organization or len(repository) > 1: # split the urls from the comma separated list and make them into markdown links commit_url_list = collaborator.commit_url.split(",")