Skip to content

Commit

Permalink
Remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
HCookie committed Oct 17, 2024
1 parent 9382fe4 commit cf30c66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contributors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 3 additions & 1 deletion contributors/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(",")
Expand Down

0 comments on commit cf30c66

Please sign in to comment.