Pass S3 interface in module_render
This commit is contained in:
@@ -870,8 +870,7 @@ class ModuleSystem(object):
|
||||
node_path="",
|
||||
anonymous_student_id='',
|
||||
course_id=None,
|
||||
peer_grading_interface=None,
|
||||
staff_grading_interface=None,
|
||||
open_ended_grading_interface=None,
|
||||
s3_interface=None):
|
||||
'''
|
||||
Create a closure around the system environment.
|
||||
@@ -923,8 +922,7 @@ class ModuleSystem(object):
|
||||
self.anonymous_student_id = anonymous_student_id
|
||||
self.course_id = course_id
|
||||
self.user_is_staff = user is not None and user.is_staff
|
||||
self.peer_grading_interface = peer_grading_interface
|
||||
self.staff_grading_interface = staff_grading_interface
|
||||
self.open_ended_grading_interface = open_ended_grading_interface
|
||||
self.s3_interface = s3_interface
|
||||
|
||||
def get(self, attr):
|
||||
|
||||
Reference in New Issue
Block a user