... remove_exif_gps_data: Fixed the return value
This commit is contained in:
@@ -25,6 +25,6 @@ def remove_exif_gps_data(image_data: bytes) -> bytes:
|
|||||||
)
|
)
|
||||||
|
|
||||||
if not result.check_returncode():
|
if not result.check_returncode():
|
||||||
return image_data
|
return result.stdout
|
||||||
else:
|
else:
|
||||||
raise Exception(result.stderr)
|
raise Exception(result.stderr)
|
||||||
|
Reference in New Issue
Block a user