From 445553f3376b25da9ed549c0f8abf2a3c15bf3f4 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 18 Aug 2011 21:42:02 +0200 Subject: [PATCH] fix typo --- pandora/archive/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/models.py b/pandora/archive/models.py index a94d1394..77a08d92 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -529,7 +529,7 @@ class Stream(models.Model): def json(self): if settings.XSENDFILE or settings.XACCELREDIRECT: - base_url = '/%s' % self.file.itemId + base_url = '/%s' % self.file.item.itemId else: base_url = os.path.dirname(self.video.url) return {