Arreglar detección de srt
This commit is contained in:
parent
6a550059a4
commit
f31159511e
|
@ -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'):
|
||||||
|
|
Reference in New Issue