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
No known key found for this signature in database
GPG Key ID: 82E42E7F3B34C97E

View File

@ -112,4 +112,4 @@ def mark_message(id, mark):
def send_message(to, message): def send_message(to, message):
return call("/unit/%s/inbox" % to, message) return call("/unit/%s/inbox" % to, message.encode('utf-8'))