diff --git a/validity_check.py b/validity_check.py index ff92bde413ecd54f985d8870af1c4749e3c84f4c..4e8bbabf8bd061389af3fa1f2ec54ba69501db33 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)