robinostlund / volkswagencarnet-client

A Python client for Volkswagen CarNet
11 stars 3 forks source link

'Vehicle' object has no attribute 'model_supported' #5

Closed isabellaalstrom closed 4 years ago

isabellaalstrom commented 4 years ago

volkswagen-carnet-client/carnet-client.py -u $CARNET_USERNAME -p $CARNET_PASSWORD -t info gives me


  File "volkswagen-carnet-client/carnet-client.py", line 235, in <module>
    main()
  File "volkswagen-carnet-client/carnet-client.py", line 230, in main
    vw._carnet_run_action()
  File "volkswagen-carnet-client/carnet-client.py", line 191, in _carnet_run_action
    self._carnet_do_action()
  File "volkswagen-carnet-client/carnet-client.py", line 157, in _carnet_do_action
    self._carnet_print_carnet_info()
  File "volkswagen-carnet-client/carnet-client.py", line 43, in _carnet_print_carnet_info
    if self.vehicle.model_supported and self.vehicle.model_year_supported:
AttributeError: 'Vehicle' object has no attribute 'model_supported'

I will probably try to look into this myself, but good to post issue.