mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 12:48:00 +00:00 
			
		
		
		
	fix column width for Beacon RSSI
This commit is contained in:
		@@ -399,10 +399,12 @@ def main():
 | 
				
			|||||||
   worksheet.set_column(col, col, 15) # Set width
 | 
					   worksheet.set_column(col, col, 15) # Set width
 | 
				
			||||||
   worksheet.write(row, col, 'Last\nMCS\n', dpeach_bold); col += 1
 | 
					   worksheet.write(row, col, 'Last\nMCS\n', dpeach_bold); col += 1
 | 
				
			||||||
   if(rssi_to_use == "beacon"):
 | 
					   if(rssi_to_use == "beacon"):
 | 
				
			||||||
 | 
					       worksheet.set_column(col, col, 10) # Set width
 | 
				
			||||||
       worksheet.write(row, col, 'Beacon\nRSSI USED\n', dpeach_bold); col += 1
 | 
					       worksheet.write(row, col, 'Beacon\nRSSI USED\n', dpeach_bold); col += 1
 | 
				
			||||||
       worksheet.set_column(col, col, 10) # Set width
 | 
					       worksheet.set_column(col, col, 10) # Set width
 | 
				
			||||||
       worksheet.write(row, col, 'Combined\nRSSI\n', dpeach_bold); col += 1
 | 
					       worksheet.write(row, col, 'Combined\nRSSI\n', dpeach_bold); col += 1
 | 
				
			||||||
   else:
 | 
					   else:
 | 
				
			||||||
 | 
					       worksheet.set_column(col, col, 10) # Set width
 | 
				
			||||||
       worksheet.write(row, col, 'Beacon\nRSSI\n', dpeach_bold); col += 1
 | 
					       worksheet.write(row, col, 'Beacon\nRSSI\n', dpeach_bold); col += 1
 | 
				
			||||||
       worksheet.set_column(col, col, 10) # Set width
 | 
					       worksheet.set_column(col, col, 10) # Set width
 | 
				
			||||||
       worksheet.write(row, col, 'Combined\nRSSI USED\n', dpeach_bold); col += 1
 | 
					       worksheet.write(row, col, 'Combined\nRSSI USED\n', dpeach_bold); col += 1
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user