fix stream path
This commit is contained in:
parent
16b0240d5a
commit
de419b7d25
2 changed files with 2 additions and 2 deletions
|
@ -243,7 +243,7 @@ class File(models.Model):
|
|||
resolution=config['resolutions'][0],
|
||||
format=config['formats'][0])
|
||||
if created:
|
||||
stream.video.name = stream.name()
|
||||
stream.video.name = stream.path(stream.name())
|
||||
ox.makedirs(os.path.dirname(stream.video.path))
|
||||
with open(stream.video.path, 'w') as f:
|
||||
f.write(chunk.read())
|
||||
|
|
|
@ -415,7 +415,7 @@
|
|||
],
|
||||
"listViews": [
|
||||
{"id": "list", "title": "as List"},
|
||||
{"id": "icons", "title": "as Icons"},
|
||||
{"id": "grid", "title": "as Grid"},
|
||||
//{"id": "info", "title": "with Info"},
|
||||
{"id": "clips", "title": "with Clips"},
|
||||
{"id": "timelines", "title": "with Timelines"},
|
||||
|
|
Loading…
Reference in a new issue