Skip to content

Commit

Permalink
Improve example
Browse files Browse the repository at this point in the history
  • Loading branch information
coffeemakr committed May 14, 2020
1 parent 92494b5 commit 66ad534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/send_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def send_image(recipient):

threema = thr.Threema.from_environment()
# Upload the file
message = threema.upload_file(data_dir / "image.jpg")
message = threema.upload_file(filename=data_dir / "image.jpg")

# Upload the thumbnail
with open(data_dir / "thumbnail.jpg", "rb") as thumnail_file:
Expand Down

0 comments on commit 66ad534

Please sign in to comment.