Commit 198f23ed by Jason Bau

Fixes utilities caption by not writing modulestore (no need to)

parent 8719b8c1
...@@ -82,8 +82,6 @@ def json_update_videos(request, locations): ...@@ -82,8 +82,6 @@ def json_update_videos(request, locations):
#update transcripts #update transcripts
item = modulestore().get_item(key) item = modulestore().get_item(key)
download_youtube_subs({1.0: item.youtube_id_1_0}, item, settings) download_youtube_subs({1.0: item.youtube_id_1_0}, item, settings)
item.sub = item.youtube_id_1_0
item.save_with_metadata(request.user)
#get new status #get new status
videos = {'youtube': item.youtube_id_1_0} videos = {'youtube': item.youtube_id_1_0}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment