Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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-platform
Commits
2a4b3c96
Commit
2a4b3c96
authored
May 15, 2014
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix merge conflicts
parent
ff026ea8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
8 deletions
+1
-8
common/lib/xmodule/xmodule/video_module/video_handlers.py
+1
-8
No files found.
common/lib/xmodule/xmodule/video_module/video_handlers.py
View file @
2a4b3c96
...
...
@@ -194,23 +194,16 @@ class VideoStudentViewHandlers(object):
transcript_name
=
self
.
sub
if
transcript_name
:
<<<<<<<
HEAD
course
=
self
.
descriptor
.
runtime
.
modulestore
.
get_course
(
self
.
course_id
)
if
course
.
static_asset_path
:
=======
course_location
=
CourseDescriptor
.
id_to_location
(
self
.
course_id
)
# Get the asset path for course
asset_path
=
None
if
hasattr
(
self
.
descriptor
.
runtime
,
'modulestore'
):
course
=
self
.
descriptor
.
runtime
.
modulestore
.
get_
item
(
course_location
)
course
=
self
.
descriptor
.
runtime
.
modulestore
.
get_
course
(
self
.
course_id
)
asset_path
=
course
.
static_asset_path
else
:
# Handle XML Courses that don't have modulestore in the runtime
asset_path
=
getattr
(
self
.
descriptor
,
'data_dir'
,
None
)
if
asset_path
:
>>>>>>>
edx
/
master
response
=
Response
(
status
=
307
,
location
=
'/static/{0}/{1}'
.
format
(
...
...
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