kopia lustrzana https://github.com/OpenDroneMap/ODM
Semantic int_values fix
rodzic
c32a8a5c59
commit
8bc251aea2
opendm
|
@ -631,7 +631,7 @@ class ODM_Photo:
|
|||
if isinstance(tag.values, list):
|
||||
return [int(v) for v in tag.values]
|
||||
elif isinstance(tag.values, str) and tag.values == '':
|
||||
return [0]
|
||||
return []
|
||||
else:
|
||||
return [int(tag.values)]
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue