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
99f083e7
Commit
99f083e7
authored
Dec 03, 2012
by
Victor Shnayder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1097 from MITx/diana/fix-open-ended-input
Diana/fix open ended input
parents
cb9c7100
9b1cad90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
common/lib/capa/capa/xqueue_interface.py
+5
-1
common/lib/xmodule/xmodule/capa_module.py
+1
-1
No files found.
common/lib/capa/capa/xqueue_interface.py
View file @
99f083e7
...
...
@@ -81,7 +81,11 @@ class XQueueInterface(object):
# Log in, then try again
if
error
and
(
msg
==
'login_required'
):
self
.
_login
()
(
error
,
content
)
=
self
.
_login
()
if
error
!=
0
:
# when the login fails
log
.
debug
(
"Failed to login to queue:
%
s"
,
content
)
return
(
error
,
content
)
if
files_to_upload
is
not
None
:
# Need to rewind file pointers
for
f
in
files_to_upload
:
...
...
common/lib/xmodule/xmodule/capa_module.py
View file @
99f083e7
...
...
@@ -149,7 +149,7 @@ class CapaModule(XModule):
# Need the problem location in openendedresponse to send out. Adding
# it to the system here seems like the least clunky way to get it
# there.
self
.
system
.
set
(
'location'
,
self
.
location
)
self
.
system
.
set
(
'location'
,
self
.
location
.
url
()
)
try
:
# TODO (vshnayder): move as much as possible of this work and error
...
...
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