sdague/mychevy

TypeError: 'NoneType' object is not subscriptable

kayrozen opened this issue · 2 comments

  • mychevy version: 2.1.1
  • Python version: 3.8
  • Operating System: ubuntu

Description

Just test mychevy cli

What I Did

Paste the command(s) you ran and the output.
mychevy -c config.ini

If there was a crash, please include the traceback here.

Traceback (most recent call last):
  File "/home/kay/.local/lib/python3.8/site-packages/mychevy/mychevy.py", line 309, in get_cars
    _LOGGER.debug("Vehicles: %s", data["data"]["vehicleMap"])
TypeError: 'NoneType' object is not subscriptable


Same behaviour for me with Python 3.7 ;-/

This is a duplicate of #22 - will consolidate any answers around that one.