no log: pep improvement

pull/1582/head
morpheus65535 3 years ago
parent b1af4caeeb
commit 3f7abc9ddc

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

Loading…
Cancel
Save