mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	Fix influx2.py
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
		
							
								
								
									
										0
									
								
								py-scripts/GrafanaRequest.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								py-scripts/GrafanaRequest.py
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								py-scripts/grafana_profile.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								py-scripts/grafana_profile.py
									
									
									
									
									
										Normal file
									
								
							@@ -10,6 +10,11 @@ if sys.version_info[0] != 3:
 | 
			
		||||
    print("This script requires Python 3")
 | 
			
		||||
    exit(1)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if 'py-json' not in sys.path:
 | 
			
		||||
    sys.path.append(os.path.join(os.path.abspath('..'), 'py-json'))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
import requests
 | 
			
		||||
import json
 | 
			
		||||
import influxdb_client
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user