From f02621876d86ac6696d460f79cad5105f4bbedca Mon Sep 17 00:00:00 2001 From: Alexander Kryklia Date: Fri, 4 Jan 2013 13:13:05 +0200 Subject: [PATCH] removed course id --- common/lib/capa/capa/inputtypes.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/lib/capa/capa/inputtypes.py b/common/lib/capa/capa/inputtypes.py index 48ee45e8ac..e0c90bd8ee 100644 --- a/common/lib/capa/capa/inputtypes.py +++ b/common/lib/capa/capa/inputtypes.py @@ -871,12 +871,6 @@ class DragAndDropInput(InputTypeBase): self.loaded_attributes['drag_and_drop_json'] = json.dumps(to_js) self.to_render.add('drag_and_drop_json') - try: # for tests and mock up, work normally not in tets - self.loaded_attributes['course_folder'] = \ - self.system.filestore.root_path.split('/')[-1] - except: - self.loaded_attributes['course_folder'] = 'mock' - self.to_render.add('course_folder') registry.register(DragAndDropInput)