Stop loop on match.

This commit is contained in:
Marcus Scholz 2020-03-01 21:17:48 +01:00
parent f0f6363d8d
commit 32c338289f

View File

@ -55,3 +55,4 @@ with open("testdata/test.hisdb.his", "r") as f:
print("Going to write comment: " + new_comment)
exif_bytes = piexif.dump(exif_dict)
im.save("testdata/test.jpg", exif=exif_bytes)
break