Update on validation string error
This commit is contained in:
parent
fc20bc9e9d
commit
a6454987f2
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ class FormData:
|
|||
def validate(self):
|
||||
# Validate number of infected <= number of total people
|
||||
if self.infected_people > self.total_people:
|
||||
raise ValueError('Number of infected people should be less than number of total people.')
|
||||
raise ValueError('Number of infected people cannot be more than number of total people.')
|
||||
|
||||
# Validate time intervals selected by user
|
||||
time_intervals = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue