diff options
| -rw-r--r-- | analyze.py | 5 | 
1 files changed, 3 insertions, 2 deletions
| @@ -270,8 +270,9 @@ if os.path.exists(EXCLUDE_FILE):      with open(EXCLUDE_FILE) as f:
          for line in f:
              line = line.strip()
 -            if line != '':
 -                lst.append(line)
 +            sno = line.split('\t')[0]
 +            if sno != '':
 +                lst.append(sno)
          for s in lst:
              print('Do not count %s' % (s))
              remove_a_student(student_lst, s)
 | 
