corrects typo in legacy.py (LMS-1675)
Merge pull request #2028 from edx/adam/fix-error-student-data

corrects typo in legacy.py (LMS-1675)