Skip to content

Commit

Permalink
fix: black (#1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgogoulos authored Jan 22, 2025
1 parent d2ee120 commit a7562c2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions files/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,10 +817,8 @@ def subtitles_info(self):
"""

ret = []

# Retrieve all subtitles and sort by the first letter of their associated language's title
sorted_subtitles = sorted(self.subtitles.all(), key=lambda s: s.language.title[0])

for subtitle in sorted_subtitles:
ret.append(
{
Expand Down

0 comments on commit a7562c2

Please sign in to comment.