fix setting languages

This commit is contained in:
j 2014-09-03 13:20:52 +02:00
parent 0af1b545d1
commit 50a318f4ad

View file

@ -416,7 +416,7 @@ def editMedia(request):
if key in info:
f.info[key] = info[key]
if key == 'language' and (f.is_video or f.is_audio):
save_items.append(f.item)
save_items.append(f.item.id)
update = True
if update:
f.save()