fix problem with negative (South) Latitude
This commit is contained in:
		
							parent
							
								
									d089b05cf0
								
							
						
					
					
						commit
						75e1f6180c
					
				@ -79,7 +79,7 @@ class Photo(Media):
 | 
			
		||||
                londir = -1
 | 
			
		||||
 | 
			
		||||
            coords = exif[key].value
 | 
			
		||||
            if(key == 'latitude'):
 | 
			
		||||
            if(type == 'latitude'):
 | 
			
		||||
                return float(str(LatLon.Latitude(degree=coords[0], minute=coords[1], second=coords[2]))) * latdir
 | 
			
		||||
            else:
 | 
			
		||||
                return float(str(LatLon.Longitude(degree=coords[0], minute=coords[1], second=coords[2]))) * londir
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user