2
0

Wrong return value

This commit is contained in:
glax 2023-05-25 14:38:43 +02:00
parent 4772ae0756
commit 750df4ed52

View File

@ -305,7 +305,7 @@ public class MangaDex : Connector
string saveImagePath = Path.Join(imageCachePath, filename); string saveImagePath = Path.Join(imageCachePath, filename);
if (File.Exists(saveImagePath)) if (File.Exists(saveImagePath))
return saveImagePath; return filename;
DownloadClient.RequestResult coverResult = downloadClient.MakeRequest(url, (byte)RequestType.AtHomeServer); DownloadClient.RequestResult coverResult = downloadClient.MakeRequest(url, (byte)RequestType.AtHomeServer);
using MemoryStream ms = new(); using MemoryStream ms = new();