mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 11:18:03 +00:00
parse_time function in realm.monitor
This commit is contained in:
@@ -1082,7 +1082,7 @@ class L3CXProfile(LFCliBase):
|
||||
report_file=None,
|
||||
output_format=None):
|
||||
try:
|
||||
duration_sec=int(duration_sec)
|
||||
duration_sec=local_realm.parse_time(duration_sec)
|
||||
except:
|
||||
if (duration_sec is None) or (duration_sec <= 1):
|
||||
raise ValueError("L3CXProfile::monitor wants duration_sec > 1 second")
|
||||
|
||||
Reference in New Issue
Block a user