From 727e730ee87dec88305884d13f43d155a77e1498 Mon Sep 17 00:00:00 2001 From: CharlyBVO <charles-henry.bertrand@uclouvain.be> Date: Wed, 26 Feb 2020 11:15:53 +0100 Subject: [PATCH] email to lowercase --- validity_check.py | 1 + 1 file changed, 1 insertion(+) diff --git a/validity_check.py b/validity_check.py index 1190bbb..c05669f 100644 --- a/validity_check.py +++ b/validity_check.py @@ -18,6 +18,7 @@ if __name__ == "__main__": print('You broke file format by suppressing/adding "," !\n') exit(1) + author = author.lower() if author not in curr_line[0] and (author not in prev_line[0]) : print("You modify the line of another student or use a different email than the one written !\n") exit(1) -- GitLab