mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-26 05:41:18 -04:00
+ was not able to deal with relative path in libraries
This commit is contained in:
parent
c2cd40d067
commit
e0cf824188
@ -454,10 +454,10 @@ int main(int argc, char **argv) {
|
||||
for ( itr = booksIds.begin(); itr != booksIds.end(); ++itr ) {
|
||||
libraryManager.getBookById(*itr, currentBook);
|
||||
string humanReadableId = currentBook.getHumanReadableIdFromPath();
|
||||
zimPath = currentBook.path;
|
||||
zimPath = currentBook.pathAbsolute;
|
||||
|
||||
if (!zimPath.empty()) {
|
||||
indexPath = currentBook.indexPath;
|
||||
indexPath = currentBook.indexPathAbsolute;
|
||||
|
||||
/* Instanciate the ZIM file handler */
|
||||
kiwix::Reader *reader = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user