diff options
Diffstat (limited to 'MAT/archive.py')
| -rw-r--r-- | MAT/archive.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MAT/archive.py b/MAT/archive.py index 4ffe21a..d483dcc 100644 --- a/MAT/archive.py +++ b/MAT/archive.py | |||
| @@ -16,7 +16,7 @@ import parser | |||
| 16 | # Zip files do not support dates older than 01/01/1980 | 16 | # Zip files do not support dates older than 01/01/1980 |
| 17 | ZIP_EPOCH = (1980, 1, 1, 0, 0, 0) | 17 | ZIP_EPOCH = (1980, 1, 1, 0, 0, 0) |
| 18 | ZIP_EPOCH_SECONDS = (datetime.datetime(1980, 1, 1, 0, 0, 0) | 18 | ZIP_EPOCH_SECONDS = (datetime.datetime(1980, 1, 1, 0, 0, 0) |
| 19 | - datetime.datetime(1970, 1, 1, 0, 0, 0)).total_seconds() | 19 | - datetime.datetime(1970, 1, 1, 1, 0, 0)).total_seconds() |
| 20 | 20 | ||
| 21 | 21 | ||
| 22 | class GenericArchiveStripper(parser.GenericParser): | 22 | class GenericArchiveStripper(parser.GenericParser): |
| @@ -95,7 +95,6 @@ class ZipStripper(GenericArchiveStripper): | |||
| 95 | logging.debug('%s from %s has metadata' % (item.filename, self.filename)) | 95 | logging.debug('%s from %s has metadata' % (item.filename, self.filename)) |
| 96 | if not list_unsupported: | 96 | if not list_unsupported: |
| 97 | return False | 97 | return False |
| 98 | ret_list.append(item.filename) | ||
| 99 | else: | 98 | else: |
| 100 | logging.info('%s\'s fileformat is not supported or harmless.' | 99 | logging.info('%s\'s fileformat is not supported or harmless.' |
| 101 | % item.filename) | 100 | % item.filename) |
