2
0
This commit is contained in:
glax 2023-05-26 14:30:52 +02:00
parent 985ac8fc7a
commit 5dc91095f8

View File

@ -284,7 +284,7 @@ public class MangaDex : Connector
string fileInCache = Path.Join(settings.coverImageCache, publication.coverFileNameInCache); string fileInCache = Path.Join(settings.coverImageCache, publication.coverFileNameInCache);
string newFilePath = Path.Join(publicationFolder, Path.GetFileName(fileInCache)); string newFilePath = Path.Join(publicationFolder, Path.GetFileName(fileInCache));
if(File.Exists(fileInCache)) if(!File.Exists(fileInCache) && !File.Exists(newFilePath))
File.Copy(fileInCache, newFilePath); File.Copy(fileInCache, newFilePath);
} }