Skip to content

Commit

Permalink
Fix dump_patterns for missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed Dec 16, 2023
1 parent 4e1a8dd commit a418261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dump_patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
def _sorted_patterns(registry: Registry):
return sorted(
registry.patterns,
key=lambda p: (p.mod.value.name, p.translation),
key=lambda p: (p.mod.value.name, p.translation or ""),
)


Expand Down

0 comments on commit a418261

Please sign in to comment.