diff --git a/jobserver/github.py b/jobserver/github.py index dfebbde7a..13656399a 100644 --- a/jobserver/github.py +++ b/jobserver/github.py @@ -664,7 +664,7 @@ def get_repos_with_dates(self, org): topics = [] if repo["repositoryTopics"]["nodes"]: - topics = [n["topic"]["name"] for n in repo["repositoryTopics"]["nodes"]] + topics = [n["topic"]["name"] for n in repo["repositoryTopics"]["nodes"] if n is not None] yield { "name": repo["name"],