Commit ffaea78d by Justin Riley

use basestring instead of str in isinstance

parent a756d99c
......@@ -173,7 +173,7 @@ class ProctorModuleInfo(object):
StudentModule state for each, and see which randomized problem was
selected for a student (if any).
"""
if isinstance(student, str):
if isinstance(student, basestring):
student = User.objects.get(username=student)
self.student = student
......
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