From decbf7002714219a58264ebeaad87a60f2ee05a7 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 27 Sep 2014 19:44:23 +0200 Subject: [PATCH] remove unused variables --- pandora/item/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pandora/item/models.py b/pandora/item/models.py index 7dcbec15a..dac33984e 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -459,7 +459,6 @@ class Item(models.Model): streams = [s.get(resolution, format).media.path for s in self.streams()] if len(streams) > 1: if format == "webm": - first = True cmd = ['mkvmerge', '-o', output] cmd += [streams[0]] + ['+' + s for s in streams[1:]] p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) @@ -1461,7 +1460,6 @@ class Item(models.Model): return #otherwise add empty 5 seconds annotation every minute duration = sum([s.duration for s in self.streams()]) - start = 0 layer = subtitles['id'] #FIXME: allow annotations from no user instead? user = User.objects.all().order_by('id')[0]