Arreglar detección de srt

This commit is contained in:
Ales Zabala Alava 2019-09-03 12:31:24 +02:00
parent 6a550059a4
commit f31159511e
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class SongPage:
self.files.append(entry) self.files.append(entry)
elif entry.name.endswith('vtt'): elif entry.name.endswith('vtt'):
self.vtt = entry self.vtt = entry
elif entry.name == "{}.srt".format(entry.name): elif entry.name == "{}.srt".format(self.path.name):
self.srt = entry self.srt = entry
self.files.append(entry) self.files.append(entry)
elif entry.name.endswith('ass'): elif entry.name.endswith('ass'):