fix indentation

This commit is contained in:
vvzvlad
2025-04-13 19:01:46 +03:00
parent 09d3fcf5a1
commit d7eb71f03a
+1 -1
View File
@@ -357,7 +357,7 @@ class PostParser:
# Regex matches string starting and ending with a non-t.me URL
url_pattern = r'^https?://(?!(?:www\.)?t\.me)[^\s<>"\']+$'
if re.fullmatch(url_pattern, message_text_str.strip()):
is_only_link = True
is_only_link = True
if is_only_link:
flags.append("only_link")