Skip to content

Commit 3ad99a1

Browse files
authored
Merge pull request #452 from openzim/recreate_exclude_w
Do not copy entry in 'W' namespace when recreating zim file.
2 parents bb7ae50 + 90a44a5 commit 3ad99a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zimrecreate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void create(const std::string& originFilename, const std::string& outFilename, b
151151
// We have to adapt the content to drop the namespace.
152152

153153
auto path = entry.getPath();
154-
if (path[0] == 'Z' || path[0] == 'X' || path[0] == 'M') {
154+
if (path[0] == 'Z' || path[0] == 'X' || path[0] == 'M' || path[0] == 'W') {
155155
// Index is recreated by zimCreator. Do not add it
156156
continue;
157157
}

0 commit comments

Comments
 (0)