Fix startup issue/issue with existing chapters: ProgressToken would not complete
This commit is contained in:
parent
2dac5db4da
commit
7f3754fb64
@ -229,7 +229,10 @@ public abstract class MangaConnector : GlobalBase
|
||||
Directory.CreateDirectory(directoryPath);
|
||||
|
||||
if (File.Exists(saveArchiveFilePath)) //Don't download twice.
|
||||
{
|
||||
progressToken?.Complete();
|
||||
return HttpStatusCode.Created;
|
||||
}
|
||||
|
||||
//Create a temporary folder to store images
|
||||
string tempFolder = Directory.CreateTempSubdirectory("trangatemp").FullName;
|
||||
|
Loading…
Reference in New Issue
Block a user