summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2021-10-11 23:45:22 -0400
committermorpheus65535 <[email protected]>2021-10-11 23:45:22 -0400
commit3f7abc9ddca1eb619a6154b69ecf59f17bd4dac3 (patch)
tree064ef55f390821dd523e20a07488853bc69511ff
parentb1af4caeebdb9b98e098146afe72b9ef4e781ea6 (diff)
downloadbazarr-3f7abc9ddca1eb619a6154b69ecf59f17bd4dac3.tar.gz
bazarr-3f7abc9ddca1eb619a6154b69ecf59f17bd4dac3.zip
no log: pep improvement
-rw-r--r--libs/subliminal_patch/providers/titrari.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/subliminal_patch/providers/titrari.py b/libs/subliminal_patch/providers/titrari.py
index d64b4edf8..2a4008923 100644
--- a/libs/subliminal_patch/providers/titrari.py
+++ b/libs/subliminal_patch/providers/titrari.py
@@ -293,7 +293,8 @@ class TitrariProvider(Provider, ProviderSubtitleArchiveMixin):
else:
subtitle.content = self.get_subtitle_from_archive(subtitle, archive)
- def _get_subtitle_from_archive(self, subtitle, archive):
+ @staticmethod
+ def _get_subtitle_from_archive(subtitle, archive):
for name in archive.namelist():
# discard hidden files
if os.path.split(name)[-1].startswith('.'):