From 9d6ff3c01f304de4526f0ef15bf11f9ee03d3f88 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 7 Dec 2010 20:05:59 +0100 Subject: [PATCH] item.path --- pandora/item/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/models.py b/pandora/item/models.py index 6369c8367..968127564 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -594,7 +594,7 @@ class Item(models.Model): def path(self, name=''): h = self.itemId - return os.path.join('items', h[:2], h[2:4], h[4:6], h[6:]) + return os.path.join('items', h[:2], h[2:4], h[4:6], h[6:], name) ''' Video related functions