diff --git a/backend/get_data.py b/backend/get_data.py index 4813af22..5cef2ba3 100644 --- a/backend/get_data.py +++ b/backend/get_data.py @@ -23,7 +23,7 @@ def main(): lesson_info = [col.text for col in row] teacher = lesson_info.pop( 5 - ) # it takes 5th element (substitutiute teacher) of the list and then deletes it + ).strip() # it takes 5th element (substitutiute teacher) of the list and then deletes it if teacher not in replacements: replacements[teacher] = [lesson_info] else: