Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion github_activity/github_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,9 @@ def generate_activity_md(
def ignored_user(username):
if username in bot_users:
return True
if any(fnmatch.fnmatch(username, user) for user in ignored_contributors):
if ignored_contributors and any(
fnmatch.fnmatch(username, user) for user in ignored_contributors
):
return True
return False

Expand Down