File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -606,9 +606,9 @@ def dewarp_flag(self) -> bool:
606606 def gps_accuracy (self ) -> tuple [float , float , float ]:
607607 """Get the GPS accuracy values in meters for x, y, and z."""
608608 try :
609- x_acc = float (self .xmp_data [self .xmp_tags .X_ACCURACY_M ])
610- y_acc = float (self .xmp_data [self .xmp_tags .Y_ACCURACY_M ])
611- z_acc = float (self .xmp_data [self .xmp_tags .Z_ACCURACY_M ])
609+ x_acc = eval (self .xmp_data [self .xmp_tags .X_ACCURACY_M ])
610+ y_acc = eval (self .xmp_data [self .xmp_tags .Y_ACCURACY_M ])
611+ z_acc = eval (self .xmp_data [self .xmp_tags .Z_ACCURACY_M ])
612612 return x_acc , y_acc , z_acc
613613 except KeyError :
614614 raise ParsingError (
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " imgparse"
3- version = " 2.0.9 "
3+ version = " 2.0.10 "
44description = " Python image-metadata-parser utilities"
55authors = []
66include = [
You can’t perform that action at this time.
0 commit comments