* fix problem when no geolocation key is provided #214
This commit is contained in:
		
							parent
							
								
									c43570ffac
								
							
						
					
					
						commit
						f23894d426
					
				@ -147,7 +147,7 @@ def place_name(lat, lon):
 | 
			
		||||
                if('default' not in lookup_place_name):
 | 
			
		||||
                    lookup_place_name['default'] = address[loc]
 | 
			
		||||
 | 
			
		||||
    if(lookup_place_name is not {}):
 | 
			
		||||
    if(lookup_place_name):
 | 
			
		||||
        db.add_location(lat, lon, lookup_place_name)
 | 
			
		||||
        # TODO: Maybe this should only be done on exit and not for every write.
 | 
			
		||||
        db.update_location_db()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user