From c371b843a96a803d6b6e82453638a67a0af05716 Mon Sep 17 00:00:00 2001 From: CharlyBVO <charles-henry.bertrand@uclouvain.be> Date: Wed, 19 Feb 2020 14:26:37 +0100 Subject: [PATCH] fix stupid problem or --- validity_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validity_check.py b/validity_check.py index ff92bde..4e8bbab 100644 --- a/validity_check.py +++ b/validity_check.py @@ -29,6 +29,6 @@ if __name__ == "__main__": if i<3 and prev_line[i] != curr_line[i] : print('You modify your data !\n') exit(1) - if(curr_line[3]) !='VU' or (curr_line[3]) !=' VU' or (curr_line[3]) !='VU ': + if(curr_line[3]) !='VU' and (curr_line[3]) !=' VU' and (curr_line[3]) !='VU ': print('You have to write "VU" in the last column !\n') exit(1) -- GitLab