Python-XTB-API icon indicating copy to clipboard operation
Python-XTB-API copied to clipboard

Cannot even connect (SELFSOLVED)

Open phoenix84pl opened this issue 2 years ago • 1 comments

I do not know where he gets that "int"... I give 2 strings...

Traceback (most recent call last): File "/home/phoenix/Noe/Phoenix/www/lilion/witryny/kryptobot/process/xtb/xtb.py", line 7, in API = XTB('a', 'b') File "/home/phoenix/Noe/Phoenix/www/lilion/witryny/kryptobot/process/xtb/API.py", line 13, in init self.login() File "/home/phoenix/Noe/Phoenix/www/lilion/witryny/kryptobot/process/xtb/API.py", line 27, in login result = self.send(login_json) File "/home/phoenix/Noe/Phoenix/www/lilion/witryny/kryptobot/process/xtb/API.py", line 570, in send self.ws.send(msg) AttributeError: 'int' object has no attribute 'send'

phoenix84pl avatar Nov 22 '23 16:11 phoenix84pl

wrong version of websocket :)

phoenix84pl avatar Nov 22 '23 16:11 phoenix84pl