Fix covers returning wrong fileLocation if cover already exists.

This commit is contained in:
Glax 2024-06-02 01:05:08 +02:00
parent 08dd01942f
commit 42feea3ad5

View File

@ -294,7 +294,7 @@ public abstract class MangaConnector : GlobalBase
string saveImagePath = Path.Join(settings.coverImageCache, filename);
if (File.Exists(saveImagePath))
return filename;
return saveImagePath;
RequestResult coverResult = downloadClient.MakeRequest(url, requestType);
using MemoryStream ms = new();