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