fix setting languages
This commit is contained in:
parent
0af1b545d1
commit
50a318f4ad
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ def editMedia(request):
|
||||||
if key in info:
|
if key in info:
|
||||||
f.info[key] = info[key]
|
f.info[key] = info[key]
|
||||||
if key == 'language' and (f.is_video or f.is_audio):
|
if key == 'language' and (f.is_video or f.is_audio):
|
||||||
save_items.append(f.item)
|
save_items.append(f.item.id)
|
||||||
update = True
|
update = True
|
||||||
if update:
|
if update:
|
||||||
f.save()
|
f.save()
|
||||||
|
|
Loading…
Reference in a new issue