From 5fc2de5fcb3cc5e285df41c2126f6c8f41c1467b Mon Sep 17 00:00:00 2001 From: glax Date: Mon, 22 May 2023 01:20:32 +0200 Subject: [PATCH] logging --- Tranga/Connectors/MangaDex.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tranga/Connectors/MangaDex.cs b/Tranga/Connectors/MangaDex.cs index 08d32f9..debe784 100644 --- a/Tranga/Connectors/MangaDex.cs +++ b/Tranga/Connectors/MangaDex.cs @@ -213,7 +213,10 @@ public class MangaDex : Connector DirectoryInfo dirInfo = new (publicationFolder); foreach(FileInfo fileInfo in dirInfo.EnumerateFiles()) if (fileInfo.Name.Contains("cover.")) + { + logger?.WriteLine(this.GetType().ToString(), $"Cover exists {publication.sortName}"); return; + } //Request information where to download Cover DownloadClient.RequestResult requestResult =