nathanhi / pyfatfs

Python based FAT12/FAT16/FAT32 implementation with VFAT support
https://pypi.org/project/pyfatfs/
MIT License
29 stars 14 forks source link

on value error 0..59, convert to 59 for seconds #35

Closed beckerben closed 11 months ago

beckerben commented 1 year ago

Fix for issue #34

This commit adds error handling for the exception whenever a second of "0" is encountered, this will force the second be returned to "59" in the time object rather than triggering an unhandled error.

nathanhi commented 11 months ago

Thank you for your contribution to pyfatfs!