forked from 0x2620/pandora
fix typos
This commit is contained in:
parent
6d3f1b9c40
commit
bf995d6edc
1 changed files with 2 additions and 2 deletions
|
@ -593,9 +593,9 @@ class Item(models.Model):
|
|||
Facet.objects.filter(item=self, key='year').delete()
|
||||
|
||||
def path(self, name=''):
|
||||
h = self.itemId
|
||||
return os.path.join('items', h[:2], h[2:4], h[4:6], h[6:])
|
||||
|
||||
|
||||
'''
|
||||
Video related functions
|
||||
'''
|
||||
|
@ -877,7 +877,7 @@ class Stream(models.Model):
|
|||
# return self.video
|
||||
|
||||
def path(self):
|
||||
return self.item.(self.profile)
|
||||
return self.item.path(self.profile)
|
||||
|
||||
def extract_derivatives(self):
|
||||
if settings.VIDEO_H264:
|
||||
|
|
Loading…
Reference in a new issue