Skip to content

Commit

Permalink
checks: Use same type fallback as the actual values
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Jun 6, 2023
1 parent 8263414 commit 8b231f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weblate/checks/duplicate.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def extract_groups(self, text: str, language_code: str):
group = 1
groups = []
words = []
ignored = IGNORES.get(language_code, {})
ignored = IGNORES.get(language_code, set())
for word in NON_WORD.split(text):
if not word:
continue
Expand Down

0 comments on commit 8b231f6

Please sign in to comment.