This commit is contained in:
parent
985ac8fc7a
commit
5dc91095f8
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user