Fix comparison

This commit is contained in:
Luis Ángel San Martín 2018-05-21 23:14:02 +02:00
parent 8ea201ece9
commit 66aa2c60c6

View File

@ -32,7 +32,7 @@ void SyncControllerV2::service(HttpRequest &request, HttpResponse &response)
if(comicInfoProgress.length() == 6) if(comicInfoProgress.length() == 6)
{ {
if (comicInfoProgress.at(0) == "unknown") if (comicInfoProgress.at(0) != "unknown")
{ {
libraryId = comicInfoProgress.at(0).toULongLong(); libraryId = comicInfoProgress.at(0).toULongLong();
comicId = comicInfoProgress.at(1).toULongLong(); comicId = comicInfoProgress.at(1).toULongLong();