-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType' #2596
Comments
I am having this issue. How to we alter the pokecly.py files so that I no longer get this error? 016-08-07 10:19:24,084 [PokemonGoBot] [INFO] |
This is still a problem. |
Looks like this happens on first login with a fresh new account.
|
Can we make this fix? |
yes this is what needs to be done but it's not a fix account just needs to be level 1 before livestats can be enabled |
@MasterCATZ Yes, it's not a fix. If being level 1 is enough to make it work, we could add a level check in |
Was not needed anymore
Looks like when the bot is starting up, these fields aren't populated so we get
None
back. We should return 0 if either of these are Nonehttps://app.getsentry.com/pokemongof/pokemongo-bot/issues/147416492/
The text was updated successfully, but these errors were encountered: