item.path

This commit is contained in:
j 2010-12-07 20:05:59 +01:00
parent de74e09063
commit 9d6ff3c01f

View file

@ -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