Merge branch 'name_on_message' into 'master'

change decode again

See merge request kelder/cammiechat!3
This commit is contained in:
hannes 2019-09-03 00:34:47 +02:00
commit 3c4f11dcb7

View file

@ -90,7 +90,7 @@ def messages_post():
return "OK" return "OK"
if sender != "somebody": if sender != "somebody":
message = "<" + sender.decode() + "> " + message message = "<" + sender + "> " + message.decode()
messages.append(Message(time, sender, sendertype, str(message, "UTF-8"))) messages.append(Message(time, sender, sendertype, str(message, "UTF-8")))
url = 'http://10.0.5.42:8000/' # Set destination URL here url = 'http://10.0.5.42:8000/' # Set destination URL here