diff options
author | morpheus65535 <[email protected]> | 2021-10-11 23:45:22 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2021-10-11 23:45:22 -0400 |
commit | 3f7abc9ddca1eb619a6154b69ecf59f17bd4dac3 (patch) | |
tree | 064ef55f390821dd523e20a07488853bc69511ff | |
parent | b1af4caeebdb9b98e098146afe72b9ef4e781ea6 (diff) | |
download | bazarr-3f7abc9ddca1eb619a6154b69ecf59f17bd4dac3.tar.gz bazarr-3f7abc9ddca1eb619a6154b69ecf59f17bd4dac3.zip |
no log: pep improvement
-rw-r--r-- | libs/subliminal_patch/providers/titrari.py | 3 |
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('.'): |