Commit 348d2138 by Tyler Hallada

alt_location instead of local_path

parent ec911ce1
...@@ -806,7 +806,7 @@ def export_to_xml(video_ids, course_id=None, external=False, video_download_dir= ...@@ -806,7 +806,7 @@ def export_to_xml(video_ids, course_id=None, external=False, video_download_dir=
resp = open('/dev/null') # skipping actually downloading for now because those are big files resp = open('/dev/null') # skipping actually downloading for now because those are big files
with resource_fs.open(exported_url, 'wb') as f: with resource_fs.open(exported_url, 'wb') as f:
f.write(resp.read()) f.write(resp.read())
attributes['local_path'] = exported_url attributes['alt_location'] = exported_url
SubElement( SubElement(
video_el, video_el,
'encoded_video', 'encoded_video',
......
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