use ox.makedirs

This commit is contained in:
j 2014-10-16 21:59:38 +02:00
parent d599781d50
commit 1f9e252ffb

View file

@ -1208,7 +1208,7 @@ class Item(models.Model):
else:
url = "%s/torrent/" % self.get_absolute_url()
part = 1
os.makedirs(base)
ox.makedirs(base)
for v in streams:
video = "%s/%s.Part %d.webm" % (base, filename, part)
part += 1