From 7f0ac6d82234f7a4fddfffc98956de7e3a74fa34 Mon Sep 17 00:00:00 2001 From: mo8it Date: Tue, 5 Mar 2024 17:28:51 +0100 Subject: [PATCH] Fix error message --- advlabdb/database_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advlabdb/database_import.py b/advlabdb/database_import.py index 25494cd..44967d1 100644 --- a/advlabdb/database_import.py +++ b/advlabdb/database_import.py @@ -205,7 +205,7 @@ def importFromFile(filePath: Path): ) if dbStudent.uni_email != uni_email: flash( - f'University email "{dbStudent.uni_email}" in the database does not match with the university email "{last_name}" provided in the import file for the student number {student_number}.', + f'University email "{dbStudent.uni_email}" in the database does not match with the university email "{uni_email}" provided in the import file for the student number {student_number}.', "warning", )