Bestoa / Claymore-NoFee-Proxy

GNU Affero General Public License v3.0
9 stars 5 forks source link

Exception happened during processing of request from #1

Closed bonald closed 6 years ago

bonald commented 6 years ago

Traceback (most recent call last): File "/usr/lib/python2.7/SocketServer.py", line 596, in process_request_thread self.finish_request(request, client_address) File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python2.7/SocketServer.py", line 652, in init self.handle() File "claymore-nofee-proxy.py", line 78, in handle self.handle_tcp(sock, remote) File "claymore-nofee-proxy.py", line 63, in handle_tcp if remote.send(remove_devfee(r_data)) <= 0: File "claymore-nofee-proxy.py", line 52, in remove_devfee return str.encode(data) TypeError: descriptor 'encode' requires a 'str' object but received a 'unicode'

Bestoa commented 6 years ago

Please use Python 3.x.