From 251cc12d389f4dddf619551c018f14c57123abad Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 7 May 2013 11:36:07 +0200 Subject: [PATCH] fix upload --- pandora/archive/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/tasks.py b/pandora/archive/tasks.py index f87f425eb..304d407c1 100644 --- a/pandora/archive/tasks.py +++ b/pandora/archive/tasks.py @@ -113,7 +113,7 @@ def extract_stream(fileId): format=config['formats'][0]) if created: models.File.objects.filter(id=fileId).update(encoding=True) - stream.video.name = stream.path(stream.name()) + stream.media.name = stream.path(stream.name()) stream.encode() if stream.available: stream.make_timeline()