mirror of
https://github.com/C9Glax/tranga.git
synced 2025-09-12 04:39:14 +02:00
Only send notification on successful downloads
This commit is contained in:
@@ -200,7 +200,7 @@ public abstract class MangaConnector : GlobalBase
|
||||
Directory.CreateDirectory(directoryPath);
|
||||
|
||||
if (File.Exists(saveArchiveFilePath)) //Don't download twice.
|
||||
return HttpStatusCode.OK;
|
||||
return HttpStatusCode.Created;
|
||||
|
||||
//Create a temporary folder to store images
|
||||
string tempFolder = Directory.CreateTempSubdirectory().FullName;
|
||||
|
Reference in New Issue
Block a user