Fixed kiwix-serve incompatibility after modification to manager class

This commit is contained in:
Kiran Mathew Koshy 2013-09-20 02:32:37 +05:30
parent 11897437f9
commit ed53a9fdec

View File

@ -481,7 +481,7 @@ int main(int argc, char **argv) {
cerr << "The XML library file '" << libraryPath << "' is empty (or has only remote books)." << endl;
}
} else {
if (!libraryManager.addBookFromPath(zimPath, zimPath, "", false)) {
if (!libraryManager.addBookFromPath(zimPath, zimPath, "","", false)) {
cerr << "Unable to add the ZIM file '" << zimPath << "' to the internal library." << endl;
exit(1);
} else if (!indexPath.empty()) {