|  |  | @ -49,7 +49,7 @@ def index(): | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | @app.route('/parts/getlocations/') |  |  |  | @app.route('/parts/getlocations/') | 
			
		
	
		
		
			
				
					
					|  |  |  | def get_locations(): |  |  |  | def get_locations(): | 
			
		
	
		
		
			
				
					
					|  |  |  |     s = 'select id, name from locations' |  |  |  |     s = 'select id, name from locations order by name;' | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     r = db_engine.execute(text(s)) |  |  |  |     r = db_engine.execute(text(s)) | 
			
		
	
		
		
			
				
					
					|  |  |  |     l = {} |  |  |  |     l = {} | 
			
		
	
		
		
			
				
					
					|  |  |  |     for row in r: |  |  |  |     for row in r: | 
			
		
	
	
		
		
			
				
					|  |  | 
 |