forked from 0x2620/pandora
use ox.makedirs
This commit is contained in:
parent
d599781d50
commit
1f9e252ffb
1 changed files with 1 additions and 1 deletions
|
@ -1208,7 +1208,7 @@ class Item(models.Model):
|
||||||
else:
|
else:
|
||||||
url = "%s/torrent/" % self.get_absolute_url()
|
url = "%s/torrent/" % self.get_absolute_url()
|
||||||
part = 1
|
part = 1
|
||||||
os.makedirs(base)
|
ox.makedirs(base)
|
||||||
for v in streams:
|
for v in streams:
|
||||||
video = "%s/%s.Part %d.webm" % (base, filename, part)
|
video = "%s/%s.Part %d.webm" % (base, filename, part)
|
||||||
part += 1
|
part += 1
|
||||||
|
|
Loading…
Reference in a new issue