Skip to content

Commit

Permalink
Update build script for issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgriv committed Dec 7, 2023
1 parent 72873d3 commit af5bc4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions _site/scripts/project_tier_table_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ def sort_repos(repos_data):
icon_response = requests.get(icon_url)
if icon_response.status_code != 200 or repo_data['size'] == 0:

# Check if the repo is private to use the private repo icon (Issue #3)
if repo_data['private']:
# Construct the expected icon file path
expected_icon_path = os.path.join(PRIVATE_REPO_ICON_DIR, f"{repo_data['name']}.png")
Expand Down
1 change: 1 addition & 0 deletions scripts/project_tier_table_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ def sort_repos(repos_data):
icon_response = requests.get(icon_url)
if icon_response.status_code != 200 or repo_data['size'] == 0:

# Check if the repo is private to use the private repo icon (Issue #3)
if repo_data['private']:
# Construct the expected icon file path
expected_icon_path = os.path.join(PRIVATE_REPO_ICON_DIR, f"{repo_data['name']}.png")
Expand Down

0 comments on commit af5bc4b

Please sign in to comment.