Skip to content

Commit

Permalink
Update sample.py [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
hMatoba committed Feb 7, 2015
1 parent 5d8dcf5 commit 9f92f44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def insert_sample():
283: (96, 1),
296: 2,
305: 'piexif'}
exif_bytes = piexif.dump(zeroth_ifd)
exif_bytes = piexif.dump({"0th":zeroth_ifd})
piexif.insert(exif_bytes,
"remove_sample.jpg",
"insert_sample.jpg")
Expand All @@ -59,4 +59,4 @@ def insert_sample():
dump_sample(os.path.join("tests", "images", "01.jpg"), "dump_sample.jpg")
remove_sample()
transplant_sample()
insert_sample()
insert_sample()

0 comments on commit 9f92f44

Please sign in to comment.