mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 19:58:03 +00:00
fix monitor df to blank function
This commit is contained in:
@@ -1143,6 +1143,7 @@ class L3CXProfile(BaseProfile):
|
||||
return False
|
||||
else:
|
||||
return False
|
||||
|
||||
def monitor(self,
|
||||
duration_sec=60,
|
||||
monitor_interval=1,
|
||||
@@ -1281,7 +1282,7 @@ class L3CXProfile(BaseProfile):
|
||||
supported_formats = ['csv', 'json', 'stata', 'pickle','html']
|
||||
for x in supported_formats:
|
||||
if output_format.lower() == x or report_file.split('.')[-1] == x:
|
||||
exec('df.to_' + x + '("' + report_file + '",index=False' + ')')
|
||||
exec('df.to_' + x + '("'+report_file+'")')
|
||||
|
||||
|
||||
def refresh_cx(self):
|
||||
|
||||
Reference in New Issue
Block a user