+ small beautifying of the code

This commit is contained in:
kelson42 2013-09-22 17:03:16 +02:00
parent 294110d40d
commit 77dfd3e03f

View File

@ -159,7 +159,7 @@ int main(int argc, char **argv) {
}
}
if (zimPath != "") {
if (!zimPath.empty()) {
zimPathToSave = zimPathToSave == "." ? zimPath : zimPathToSave;
string bookId = libraryManager.addBookFromPathAndGetId(zimPath, zimPathToSave, url, false);