Skip to content

Commit

Permalink
ruff check and format
Browse files Browse the repository at this point in the history
  • Loading branch information
getzze committed Jun 7, 2024
1 parent eb27b3b commit 211bd3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion subliminal/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ def save_subtitles(
if subtitle.language in {s.language for s in saved_subtitles}:
logger.debug('Skipping subtitle %r: language already saved', subtitle)
continue

# re-encode if not utf-8
if subtitle.encoding != 'utf-8':
subtitle.reencode()
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def episodes() -> dict[str, Episode]:
hashes={
'napiprojekt': '95bdf8ca5716166e6ad1e030a4a6b5cd',
},
)
),
}


Expand Down

0 comments on commit 211bd3a

Please sign in to comment.