misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli
2019-11-12 23:25:56 +01:00
parent 8129fb7dd2
commit c47b8f2d11

View File

@ -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'))