From c083aacb999121b9d341cce0a0ab65e0a0d2fe9a Mon Sep 17 00:00:00 2001 From: PromKnight Date: Sat, 16 Nov 2024 02:22:28 +0000 Subject: [PATCH] fix: reverse predicate --- src/Zilean.DmmScraper/Features/Dmm/DmmScraping.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Zilean.DmmScraper/Features/Dmm/DmmScraping.cs b/src/Zilean.DmmScraper/Features/Dmm/DmmScraping.cs index 155d845..7b107e9 100644 --- a/src/Zilean.DmmScraper/Features/Dmm/DmmScraping.cs +++ b/src/Zilean.DmmScraper/Features/Dmm/DmmScraping.cs @@ -191,6 +191,6 @@ private static async IAsyncEnumerable ProcessFileAsync(string } private static bool WipeSomeTissue(TorrentInfo torrent) => - torrent.RawTitle.Contains(" XXX ", StringComparison.OrdinalIgnoreCase) && - !torrent.ParsedTitle.Contains("XXX", StringComparison.OrdinalIgnoreCase); + !torrent.RawTitle.Contains(" XXX ", StringComparison.OrdinalIgnoreCase) || + torrent.ParsedTitle.Contains("XXX", StringComparison.OrdinalIgnoreCase); }