Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
cgundy committed Jan 23, 2025
1 parent ea52de3 commit cab1af4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def get_repos_open_to_contributions(gh: github3.login) -> List[str]:
file_content = download_gh_file(repo, file_path)

# convert .txt file to list and strip out comments
repo_list = [line.strip() for line in file_content.split("\n") if line.strip() and not line.strip().startswith("#")]
repo_list = [line.split("#")[0].strip() for line in file_content.split("\n") if line.split("#")[0].strip()]
return repo_list


Expand Down

0 comments on commit cab1af4

Please sign in to comment.