Commit 7a6eedb3 by David Ormsbee

Make it so we don't require HTTP basic auth to talk to the queue server

parent f93115ee
......@@ -29,7 +29,7 @@ from xmodule_modifiers import replace_course_urls, replace_static_urls, add_hist
log = logging.getLogger("mitx.courseware")
if settings.XQUEUE_INTERFACE['basic_auth'] is not None:
if settings.XQUEUE_INTERFACE.get('basic_auth') is not None:
requests_auth = HTTPBasicAuth(*settings.XQUEUE_INTERFACE['basic_auth'])
else:
requests_auth = None
......
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