Minor bug fix/conflict between grades and i4xsystem

This commit is contained in:
Piotr Mitros
2012-05-12 15:03:20 -04:00
committed by pmitros
parent 747105e328
commit 85079da3a7
3 changed files with 14 additions and 6 deletions

View File

@@ -25,7 +25,8 @@ class I4xSystem(object):
def __init__(self, ajax_url, track_function, render_function, filestore=None):
self.ajax_url = ajax_url
self.track_function = track_function
self.filestore = OSFS(settings.DATA_DIR)
if not filestore:
self.filestore = OSFS(settings.DATA_DIR)
self.render_function = render_function
self.exception404 = Http404