From f31159511ed6e55aa6444526e67a71e93169116b Mon Sep 17 00:00:00 2001 From: Ales Zabala Alava Date: Tue, 3 Sep 2019 12:31:24 +0200 Subject: [PATCH] =?UTF-8?q?Arreglar=20detecci=C3=B3n=20de=20srt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/negromateweb/builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/negromateweb/builder.py b/web/negromateweb/builder.py index 48eb9aa..9c3344e 100644 --- a/web/negromateweb/builder.py +++ b/web/negromateweb/builder.py @@ -53,7 +53,7 @@ class SongPage: self.files.append(entry) elif entry.name.endswith('vtt'): self.vtt = entry - elif entry.name == "{}.srt".format(entry.name): + elif entry.name == "{}.srt".format(self.path.name): self.srt = entry self.files.append(entry) elif entry.name.endswith('ass'):