summaryrefslogtreecommitdiff
path: root/lib/archive.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/archive.py')
-rw-r--r--lib/archive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/archive.py b/lib/archive.py
index 5956a1e..fb15705 100644
--- a/lib/archive.py
+++ b/lib/archive.py
@@ -97,7 +97,7 @@ harmless format' % item.filename)
97 _, ext = os.path.splitext(name) 97 _, ext = os.path.splitext(name)
98 bname = os.path.basename(item.filename) 98 bname = os.path.basename(item.filename)
99 if ext not in parser.NOMETA: 99 if ext not in parser.NOMETA:
100 if bname != 'mimetype': 100 if bname != 'mimetype' and bname != '.rels':
101 return False 101 return False
102 mat.secure_remove(name) 102 mat.secure_remove(name)
103 zipin.close() 103 zipin.close()