diff --git a/Tranga/Connectors/MangaDex.cs b/Tranga/Connectors/MangaDex.cs index 823a4a0..2aeaf26 100644 --- a/Tranga/Connectors/MangaDex.cs +++ b/Tranga/Connectors/MangaDex.cs @@ -284,7 +284,7 @@ public class MangaDex : Connector string fileInCache = Path.Join(settings.coverImageCache, publication.coverFileNameInCache); string newFilePath = Path.Join(publicationFolder, "cover.", Path.GetFileName(fileInCache).Split('.')[^1]); - if(!File.Exists(fileInCache) && !File.Exists(newFilePath)) + if(File.Exists(fileInCache) && !File.Exists(newFilePath)) File.Copy(fileInCache, newFilePath); logger?.WriteLine(this.GetType().ToString(), $"Done cloning cover {publication.sortName}");