From c47b8f2d11e9083056d9f70e88653dd7ec2db280 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Tue, 12 Nov 2019 23:25:56 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- pwnagotchi/grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnagotchi/grid.py b/pwnagotchi/grid.py index e260d80..c76db3a 100644 --- a/pwnagotchi/grid.py +++ b/pwnagotchi/grid.py @@ -112,4 +112,4 @@ def mark_message(id, mark): def send_message(to, message): - return call("/unit/%s/inbox" % to, message) + return call("/unit/%s/inbox" % to, message.encode('utf-8'))