animedia: f'ing lint

This commit is contained in:
Garfield69 2022-06-26 19:37:56 +12:00
parent 49093f9092
commit d08f569213
1 changed files with 2 additions and 1 deletions

View File

@ -145,7 +145,8 @@ namespace Jackett.Common.Indexers
var release = (ReleaseInfo)baseRelease.Clone();
var tr_id = t.Attributes["href"].Value;
var tr = document.QuerySelector("div" + tr_id);
if (tr.Text().Contains("TORRENT READ ERROR")) {
if (tr.Text().Contains("TORRENT READ ERROR"))
{
logger.Warn($"{DisplayName} The page at {uri.ToString()} has a TORRENT READ ERROR alert. Unable to retrieve this torrent's details.");
continue;
}