jamesremuscat / pyze

Unofficial Python client and API for Renault ZE
MIT License
111 stars 29 forks source link

error on update.py file = KeyError #110

Closed pfolcato closed 2 years ago

pfolcato commented 2 years ago

I have this error when I launch update.py: Traceback (most recent call last): File "update.py", line 93, in Main().execute() File "update.py", line 66, in execute if batt['lastUpdateTime'] != lastUpdateTime: KeyError: 'lastUpdateTime'

What can I do? if I write pyze status --vin VFXXXXXXXXXX I can see all the correct info of my car....

jamesremuscat commented 2 years ago

There is no update.py within pyze.

Please report this error to the author of the update.py file, as it looks like they're making an assumption about the presence of lastUpdateTime in their code.