Dapbler / cbr2cbz

Python script that converts compressed CBR and CBZ comic archives to stored CBZ. Many options.
GNU General Public License v3.0
26 stars 5 forks source link

Conversion fails when file being converted has timestamp before 1980 #31

Open mikeymakesit opened 2 years ago

mikeymakesit commented 2 years ago

When a file from a CBR archive has a timestamp before 1980, the script fails with ValueError. I've provided a PR to address this issue, which prevents the ValueError exception at the cost of changing the file timestamp to the minimum supported by the Zip file format. See PR #30