From 66ad5341a76f6dd0d759ba163b35c057f530fcb8 Mon Sep 17 00:00:00 2001 From: coffeemakr Date: Thu, 14 May 2020 14:14:30 +0200 Subject: [PATCH] Improve example --- examples/send_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/send_image.py b/examples/send_image.py index 9425e91..a464eae 100644 --- a/examples/send_image.py +++ b/examples/send_image.py @@ -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: