This commit is contained in:
j 2012-03-06 23:04:29 +01:00
parent 82cd45aeb1
commit 7a8756161e
1 changed files with 1 additions and 1 deletions

View File

@ -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']: