diff options
| -rw-r--r-- | MAT/archive.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MAT/archive.py b/MAT/archive.py index 8112f5d..5b25ba0 100644 --- a/MAT/archive.py +++ b/MAT/archive.py | |||
| @@ -142,10 +142,10 @@ class ZipStripper(GenericArchiveStripper): | |||
| 142 | if self.add2archive or ext in parser.NOMETA: | 142 | if self.add2archive or ext in parser.NOMETA: |
| 143 | zipout.write(name, item.filename) | 143 | zipout.write(name, item.filename) |
| 144 | zipin.close() | 144 | zipin.close() |
| 145 | for zipfile in zipout.infolist(): | 145 | for zipFile in zipout.infolist(): |
| 146 | zipfile.orig_filename = zipfile.filename | 146 | zipFile.orig_filename = zipFile.filename |
| 147 | zipfile.date_time = (1980, 1, 1, 0, 0, 0) | 147 | zipFile.date_time = (1980, 1, 1, 0, 0, 0) |
| 148 | zipfile.create_system = 3 # 3 is UNIX | 148 | zipFile.create_system = 3 # 3 is UNIX |
| 149 | zipout.comment = '' | 149 | zipout.comment = '' |
| 150 | zipout.close() | 150 | zipout.close() |
| 151 | 151 | ||
