futapi / fut

fut is a simple library for managing Fifa 19 Ultimate Team.
GNU General Public License v3.0
316 stars 138 forks source link

ValueError FUT20 #461

Open sarnask89 opened 4 years ago

sarnask89 commented 4 years ago

I'm having a troubles with FUT20 with this API ,when I'm trying to connect i'm having following issue:

>>> session = fut.Core('xxxxxxx' , 'xxxxxxx' , 'xxxxxx' , debug=True , p latform='ps4') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "F:\PROJECTS\Rpi\fut-master\fut-master\fut\core.py", line 322, in __init_ _ self.__launch__(email, passwd, secret_answer, platform=platform, code=code, totp=totp, sms=sms, emulate=emulate, File "F:\PROJECTS\Rpi\fut-master\fut-master\fut\core.py", line 440, in __launc h__ self.token_type, self.access_token = f.readline().replace('\n', '').replace( '\r', '').split(' ') ValueError: not enough values to unpack (expected 2, got 1)

I'he made file token.txt by myself cause of previous issues and now i'm stuck with this one, totp argument doesn't change anything . I don;t like to interrupts other people , mostly i'm working with issues by myself but now i'm stuck :( . Please help me !