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'):