diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-04-09 11:50:10 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-04-09 11:50:10 +0200 |
| commit | 62f954cf1afc8bfc17ef3622154f3ec025a1b69e (patch) | |
| tree | 61aa0e869d27ad85d22f429c93bde26fbdc1d507 /tools | |
| parent | ba60077962521b50819a5c6471aa7d81cf866692 (diff) | |
| download | mitjafelicijan.com-62f954cf1afc8bfc17ef3622154f3ec025a1b69e.tar.gz | |
Fixed topic to winc
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/projects.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/projects.py b/tools/projects.py index bf3c72f..65cea8d 100644 --- a/tools/projects.py +++ b/tools/projects.py | |||
| @@ -110,7 +110,9 @@ def fetch_github_data(): | |||
| 110 | if response.status_code == 200: | 110 | if response.status_code == 200: |
| 111 | repos = response.json() | 111 | repos = response.json() |
| 112 | for repo in repos: | 112 | for repo in repos: |
| 113 | if "include" in repo["topics"]: | 113 | # Check if repository has "winc" topic. This means I want to include |
| 114 | # this repository on this page. | ||
| 115 | if "winc" in repo["topics"]: | ||
| 114 | include_repositories.append(repo) | 116 | include_repositories.append(repo) |
| 115 | else: | 117 | else: |
| 116 | print(f"Failed to retrieve repositories: {response.status_code}") | 118 | print(f"Failed to retrieve repositories: {response.status_code}") |
