From 11089d5f086c1c215eb54c1731cc0341298057a1 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Fri, 11 Apr 2025 03:08:58 +0300 Subject: [PATCH] Fix condition to check for foreign channel flags in post parser --- post_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post_parser.py b/post_parser.py index f2941fb..1e04b27 100644 --- a/post_parser.py +++ b/post_parser.py @@ -374,7 +374,7 @@ class PostParser: break # Check boost links separately - only consider as foreign if the boosted channel is not current channel - if not "foreign_channel" in flags: + if "foreign_channel" not in flags: for boost_channel in boost_links: if current_channel is None or boost_channel.lower() != current_channel.lower(): flags.append("foreign_channel")