Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Commit

Permalink
fix issue with last pull request (encoding issue)
Browse files Browse the repository at this point in the history
edit .gitignore to ignore the real botconfig.py
  • Loading branch information
broncotc committed Mar 10, 2016
1 parent 6e1706e commit ff0154c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Created by .ignore support plugin (hsz.mobi)
### Custom template
Python/dev/botconfig.py
botconfig.py
libirc.py
*.bak
### Windows template
Expand Down
2 changes: 1 addition & 1 deletion Python/pycoolq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self, py2cqPort, cq2pyPort):
self.listener.setMessageHandlers(self.messageHandlers)

def send(self, sendMessage):
self.sock.send(sendMessage.destinationType + " " + str(sendMessage.destinationID) + " " + quote(sendMessage.content))
self.sock.send(sendMessage.destinationType + " " + str(sendMessage.destinationID) + " " + quote(sendMessage.content.encode('utf-8')))
return 0

def listenerStarter(self):
Expand Down

0 comments on commit ff0154c

Please sign in to comment.