no log: pep improvement

This commit is contained in:
morpheus65535 2021-10-11 23:45:22 -04:00
parent b1af4caeeb
commit 3f7abc9ddc
1 changed files with 2 additions and 1 deletions

View File

@ -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('.'):