bmwcarit / python-dlt

python-dlt is a thin Python ctypes wrapper around libdlt functions
Mozilla Public License 2.0
34 stars 29 forks source link

fix timestamp formatting #39

Closed kostalazeps closed 3 years ago

kostalazeps commented 3 years ago

for storage_timestamp the results were incorrect in case microseconds weren't 6 digits wide. This different approach fixes this.

yen3 commented 3 years ago

Hi @azeps Thanks for your patch. Could you help to fix the lint error?

kostalazeps commented 3 years ago

Hi @azeps Thanks for your patch. Could you help to fix the lint error?

Whoops. Did it.

yen3 commented 3 years ago

HI @azeps , please check the unit test result and fix your patch. Thank you.

kostalazeps commented 3 years ago

I have certain issues with running static_check_tests.py. But the other unit tests were ok with nosetests3 -sv. So I hope this satisfies you.

yen3 commented 3 years ago

@azeps Thanks for your contribution!