mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
changed logic for var_time, improved error message for incorrect monitor_interval input
Signed-off-by: Dipti <dipti.dhond@candelatech.com>
This commit is contained in:
@@ -684,7 +684,7 @@ class Realm(LFCliBase):
|
||||
else:
|
||||
duration_time = datetime.timedelta(seconds=dur_time)
|
||||
else:
|
||||
raise ValueError("Unknown value for time_string: %s" % time_string)
|
||||
raise ValueError("Cannot compute time string provided: %s" % time_string)
|
||||
else:
|
||||
raise ValueError("time_string must be of type str. Type %s provided" % type(time_string))
|
||||
return duration_time
|
||||
|
||||
Reference in New Issue
Block a user