Skip to content
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

Cannot print PDF if vehicle does not supply VIN #12

Open
mgaman opened this issue May 29, 2022 · 0 comments
Open

Cannot print PDF if vehicle does not supply VIN #12

mgaman opened this issue May 29, 2022 · 0 comments

Comments

@mgaman
Copy link

mgaman commented May 29, 2022

In pyOBDII.py lines 530 and on, the filename assumes that the vehicle VIN can be retrieved via the 0902 command.
In my case (1996 Saab 900) this command returns N/A
So the filename is constructed as SAVE/date..N/A.pdf which cannot be written as the second / is interpreted as a directory separator.
In my case I just commented out line 533 and added
FileName += '.pdf'

However this is not the proper solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant