Skip to content

Commit

Permalink
tags caseinsensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed Oct 13, 2023
1 parent 9fc1a05 commit bec521a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/generate_link_lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def find_tag(content, tag):
for c in content['resources']:
if 'tags' in c:
try:
tags = [str(t).lower for t in c['tags']]
if tag in c['tags']:
tags = [str(t).lower() for t in c['tags']]
if tag in tags:
print("* listing", c['name'])
result[c['name']] = c
except:
Expand Down

0 comments on commit bec521a

Please sign in to comment.