From 414ca6666ccbf5ac2caac0f60c07b686d03cda49 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 13 Jun 2000 18:49:53 +0000 Subject: [PATCH] James C. Ahlstron : Thanks to Hubert Hoegl for finding this bug. --- Lib/zipfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/zipfile.py b/Lib/zipfile.py index 7659ce4333..dfcf72f532 100644 --- a/Lib/zipfile.py +++ b/Lib/zipfile.py @@ -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: -- 2.50.0