diff --git a/pandora/archive/models.py b/pandora/archive/models.py index b51fe51e6..602293f79 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -172,7 +172,7 @@ class File(models.Model): return None def srt(self, offset=0): - srt = ox.load_srt(self.data.path) + srt = ox.srt.load(self.data.path) #subtitles should not overlap for i in range(1, len(srt)): if srt[i-1]['out'] > srt[i]['in']: