forked from Kelder/cammiechat
decoded sender to concat in string
This commit is contained in:
parent
62c2deb0db
commit
b6a9975f61
1 changed files with 3 additions and 3 deletions
2
chat.py
2
chat.py
|
@ -90,7 +90,7 @@ def messages_post():
|
|||
return "OK"
|
||||
|
||||
if sender != "somebody":
|
||||
message = "<" + sender + "> " + message
|
||||
message = "<" + sender.decode() + "> " + message
|
||||
|
||||
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