Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MEMENTO/IoT_Bird_Feeder/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

def send_jpeg_to_io():
# before we send the image to IO, it needs to be encoded into base64
encoded_data = binascii.b2a_base64(jpeg).strip()
encoded_data = binascii.b2a_base64(jpeg).strip().decode("utf-8")
# then, send the encoded_data to Adafruit IO camera feed
print("Sending image to IO...")
io.send_data(feed_camera["key"], encoded_data)
Expand Down
Loading