mirror of https://github.com/kiwix/libkiwix.git
+ fix problems on windows with relative paths
This commit is contained in:
parent
c0847edec9
commit
fd9c259d2a
|
@ -60,7 +60,7 @@ namespace kiwix {
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string Book::getHumanReadableIdFromPath() {
|
std::string Book::getHumanReadableIdFromPath() {
|
||||||
std::string id = path;
|
std::string id = pathAbsolute;
|
||||||
if (!id.empty()) {
|
if (!id.empty()) {
|
||||||
kiwix::removeAccents(id);
|
kiwix::removeAccents(id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue