fix poster after upload

This commit is contained in:
j 2013-07-03 19:18:02 +02:00
parent 601775eb56
commit 7aaddb29a9
1 changed files with 1 additions and 0 deletions

View File

@ -201,6 +201,7 @@ def addMedia(request):
}
i.user = request.user
i.save()
i.make_poster(True)
f = models.File(oshash=oshash, item=i)
f.path = data.get('filename', 'Untitled')
extension = f.path.split('.')