Ticket #17544: forms.patch
File forms.patch, 417 bytes (added by , 13 years ago) |
---|
-
forms.py
155 155 result += int(number[i]) * multiple_table[i] 156 156 157 157 result %= 11 158 if result == int(number[-1]):158 if result != 10 and result == int(number[-1]): 159 159 return True 160 160 else: 161 161 return False