mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-22 11:22:38 -04:00
Merge branch 'master' of ssh://git.code.sf.net/p/kiwix/kiwix
This commit is contained in:
commit
e6e500007c
@ -231,7 +231,6 @@ bool ContentManager::ListBooks(string &mode, string &sortBy, unsigned int maxSiz
|
|||||||
return this->manager.listBooks(listMode, listSortBy, maxSize, language.c_str(), publisher.c_str(), search.c_str());
|
return this->manager.listBooks(listMode, listSortBy, maxSize, language.c_str(), publisher.c_str(), search.c_str());
|
||||||
} catch (exception &e) {
|
} catch (exception &e) {
|
||||||
cerr << e.what() << endl;
|
cerr << e.what() << endl;
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -258,7 +257,6 @@ bool ContentManager::SetBookIndex(string &id, string &path, string &indexType) {
|
|||||||
return this->manager.setBookIndex(id.c_str(), path.c_str(), iType);
|
return this->manager.setBookIndex(id.c_str(), path.c_str(), iType);
|
||||||
} catch (exception &e) {
|
} catch (exception &e) {
|
||||||
cerr << e.what() << endl;
|
cerr << e.what() << endl;
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
@ -269,7 +267,6 @@ bool ContentManager::SetBookPath(string &id, string &path) {
|
|||||||
return this->manager.setBookPath(id.c_str(), path.c_str());
|
return this->manager.setBookPath(id.c_str(), path.c_str());
|
||||||
} catch (exception &e) {
|
} catch (exception &e) {
|
||||||
cerr << e.what() << endl;
|
cerr << e.what() << endl;
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user