change decode again
This commit is contained in:
parent
b6a9975f61
commit
f9cd1e319e
1 changed files with 1 additions and 1 deletions
2
chat.py
2
chat.py
|
@ -90,7 +90,7 @@ def messages_post():
|
|||
return "OK"
|
||||
|
||||
if sender != "somebody":
|
||||
message = "<" + sender.decode() + "> " + message
|
||||
message = "<" + sender + "> " + message.decode()
|
||||
|
||||
messages.append(Message(time, sender, sendertype, str(message, "UTF-8")))
|
||||
url = 'http://10.0.5.42:8000/' # Set destination URL here
|
||||
|
|
Loading…
Reference in a new issue