Merge branch 'name_on_message' into 'master'
change decode again See merge request kelder/cammiechat!3
This commit is contained in:
commit
3c4f11dcb7
1 changed files with 1 additions and 1 deletions
2
chat.py
2
chat.py
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue