mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2025-06-28 16:25:44 +08:00
Fixed subject names still having \r symbols in them and fixed student status list view not working
This commit is contained in:
parent
e734afd631
commit
cc52931956
3 changed files with 4 additions and 4 deletions
|
@ -58,7 +58,7 @@ def populate_subjects(sender, **kwargs):
|
|||
subject_year_level = year_term[0].strip()
|
||||
subject_semester = year_term[1].strip()
|
||||
subject_code = row[1]
|
||||
subject_name = row[2].replace("\n", " ")
|
||||
subject_name = row[2].replace("\n", " ").replace("\r", "")
|
||||
|
||||
# Definitions of subjects to ignore
|
||||
ignored_subject_codes = ['NSTP', 'ROTC', 'CWTS', 'LTS']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue