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