forked from Kelder/cammiechat
Merge branch 'name_on_message' into 'master'
fixed errer See merge request kelder/cammiechat!4
This commit is contained in:
commit
378b668f7a
1 changed files with 1 additions and 1 deletions
2
chat.py
2
chat.py
|
@ -92,7 +92,7 @@ def messages_post():
|
|||
if sender != "somebody":
|
||||
message = "<" + sender + "> " + message.decode()
|
||||
|
||||
messages.append(Message(time, sender, sendertype, str(message, "UTF-8")))
|
||||
messages.append(Message(time, sender, sendertype, message))
|
||||
url = 'http://10.0.5.42:8000/' # Set destination URL here
|
||||
post_fields = {'X-Messages': base64.b64encode(message)}
|
||||
|
||||
|
|
Loading…
Reference in a new issue