forked from markus/S_New4
fix error at search and update: save not full file
This commit is contained in:
parent
1c16ddeb97
commit
894a5ef55b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user