diff --git a/pandora/archive/models.py b/pandora/archive/models.py index 8de996312..a3a89fa56 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -282,7 +282,7 @@ class File(models.Model): srt = [] subtitles = [] for s in ox.srt.load(self.data.path): - if s['in'] <= s['out']: + if s['in'] <= s['out'] and s['value'].strip(): key = '%s --> %s\n%s' % (s['in'], s['out'], s['value']) if key not in subtitles: subtitles.append(key)