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

Thanks to Hubert Hoegl <hubert.hoegl@dlr.de> for finding this bug.
This commit is contained in:
Fred Drake 2000-06-13 18:49:53 +00:00
parent f6b5374ecf
commit 414ca6666c
1 changed files with 1 additions and 1 deletions

View File

@ -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: