Kaydet (Commit) 414ca666 authored tarafından Fred Drake's avatar Fred Drake

James C. Ahlstron <jim@interet.com>:

Thanks to Hubert Hoegl <hubert.hoegl@dlr.de> for finding this bug.
üst f6b5374e
......@@ -166,7 +166,7 @@ class ZipFile:
x.volume, x.internal_attr, x.external_attr = centdir[15:18]
# Convert date/time code to (year, month, day, hour, min, sec)
x.date_time = ( (d>>9)+1980, (d>>5)&0xF, d&0x1F,
t>>11, (t>>5)&0x3F, t&0x1F * 2 )
t>>11, (t>>5)&0x3F, (t&0x1F) * 2 )
self.filelist.append(x)
self.NameToInfo[x.filename] = x
if self.debug > 2:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment