Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-val
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-val
Commits
348d2138
Commit
348d2138
authored
Jan 31, 2018
by
Tyler Hallada
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alt_location instead of local_path
parent
ec911ce1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
edxval/api.py
+1
-1
No files found.
edxval/api.py
View file @
348d2138
...
...
@@ -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
with
resource_fs
.
open
(
exported_url
,
'wb'
)
as
f
:
f
.
write
(
resp
.
read
())
attributes
[
'
local_path
'
]
=
exported_url
attributes
[
'
alt_location
'
]
=
exported_url
SubElement
(
video_el
,
'encoded_video'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment