fix error at search and update: save not full file

This commit is contained in:
Markus 2019-08-03 22:01:58 +02:00
parent 1c16ddeb97
commit 894a5ef55b
1 changed files with 1 additions and 3 deletions

View File

@ -216,9 +216,6 @@ int ProgramManager::searchModus_update(Settings *settings)
//...\n|/serie/stream/2012-das-jahr-null" title="2012 - Das Jahr Null Stream anschauen">2012 - Das Jahr Null</a>\n...
serienListe = pageManager.replace(serienListe, "|/serie/stream/", "|/");

//Performanze:
serienListe = pageManager.grep(serienListe, settings->name, true);

std::stringstream strstream(serienListe);
std::string line;
serienListe.clear();
@ -243,6 +240,7 @@ int ProgramManager::searchModus_update(Settings *settings)
}
ofs << serienListe << std::endl;
ofs.close();

return 0;
}