mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-26 02:00:15 -06:00
Fix validation - catch min > max
This commit is contained in:
parent
1774579acc
commit
938075b8fd
@ -192,8 +192,10 @@ def validateNetworkAndDevices():
|
||||
try:
|
||||
if int(downloadMin) > int(downloadMax):
|
||||
warnings.warn("Provided downloadMin '" + downloadMin + "' in ShapedDevices.csv at row " + str(rowNum) + " is greater than downloadMax")
|
||||
devicesValidatedOrNot = False
|
||||
if int(uploadMin) > int(uploadMax):
|
||||
warnings.warn("Provided uploadMin '" + downloadMin + "' in ShapedDevices.csv at row " + str(rowNum) + " is greater than uploadMax")
|
||||
devicesValidatedOrNot = False
|
||||
except:
|
||||
devicesValidatedOrNot = False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user