forked from 0x2620/pandora
item.path
This commit is contained in:
parent
de74e09063
commit
9d6ff3c01f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue