Skip to content

Commit

Permalink
Merge pull request #29 from mitocw/fix/bdero/fix-xqanalyze
Browse files Browse the repository at this point in the history
Fix xqanalyze compatibility with cypress
  • Loading branch information
bdero committed Sep 8, 2015
2 parents 4fe2ec5 + 97587ed commit aaa70e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xsiftx/sifters/xqanalyze
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ from django.core.cache import get_cache
from django.dispatch import Signal
from request_cache.middleware import RequestCache

from courseware.models import StudentModule
from courseware.views import *
from opaque_keys.edx.locations import SlashSeparatedCourseKey
from xmodule.modulestore.django import modulestore
Expand Down Expand Up @@ -81,7 +82,7 @@ class XProblemAnalyzer(object):
dirname = '{0}/student_responses_{1}_{2}'.format(
tmpdir,
course_id.replace('/', '__'),
datetime.datetime.now().strftime('%Y-%m-%d')
datetime.now().strftime('%Y-%m-%d')
)
os.mkdir(dirname)
self.output_fn = "{0}/xqa".format(dirname)
Expand Down

0 comments on commit aaa70e1

Please sign in to comment.