forked from 0x2620/pandora
typo
This commit is contained in:
parent
2a6a48f135
commit
98fcaf63aa
1 changed files with 1 additions and 1 deletions
|
@ -529,7 +529,7 @@ class Stream(models.Model):
|
|||
|
||||
def json(self):
|
||||
if settings.XSENDFILE or settings.XACCELREDIRECT:
|
||||
base_url = '/%s' % self.itemId
|
||||
base_url = '/%s' % self.file.itemId
|
||||
else:
|
||||
base_url = os.path.dirname(self.video.url)
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue