mirror of
https://github.com/Kalenis/kalenislims.git
synced 2023-12-14 07:13:04 +01:00
Check for ranges in notebook results verification
This commit is contained in:
parent
a63570c243
commit
78310ac8fa
|
@ -4222,9 +4222,9 @@ class NotebookResultsVerification(Wizard):
|
|||
else:
|
||||
return 'out'
|
||||
else:
|
||||
if result < range_.min:
|
||||
if (range_.min and result < range_.min):
|
||||
return 'out'
|
||||
elif result <= range_.max:
|
||||
elif (range_.max and result <= range_.max):
|
||||
return 'ok'
|
||||
else:
|
||||
return 'out'
|
||||
|
|
Loading…
Reference in a new issue