Bugfix in Book::getHumanReadableIdFromPath()

This commit is contained in:
Veloman Yunkan 2021-11-22 17:39:45 +04:00
parent 3296a020a1
commit 339f845fb0
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ std::string Book::getHumanReadableIdFromPath() const
{
std::string id = m_path;
if (!id.empty()) {
kiwix::removeAccents(id);
id = kiwix::removeAccents(id);
#ifdef _WIN32
id = replaceRegex(id, "", "^.*\\\\");