Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
2a4b3c96
Commit
2a4b3c96
authored
10 years ago
by
Calen Pennington
Browse files
Options
Downloads
Patches
Plain Diff
Fix merge conflicts
parent
ff026ea8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/lib/xmodule/xmodule/video_module/video_handlers.py
+1
-8
1 addition, 8 deletions
common/lib/xmodule/xmodule/video_module/video_handlers.py
with
1 addition
and
8 deletions
common/lib/xmodule/xmodule/video_module/video_handlers.py
+
1
−
8
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
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment