From 710cfa071d5a384c08f9e4ae2fea2065ccdaa3a4 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 26 Apr 2021 16:13:36 +0200 Subject: [PATCH] Lower log level for unmatched closing tag --- pyrogram/parser/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/parser/html.py b/pyrogram/parser/html.py index ac9984f6..e73cb3aa 100644 --- a/pyrogram/parser/html.py +++ b/pyrogram/parser/html.py @@ -96,7 +96,7 @@ class Parser(HTMLParser): line, offset = self.getpos() offset += 1 - log.warning(f"Unmatched closing tag at line {line}:{offset}") + log.debug(f"Unmatched closing tag at line {line}:{offset}") else: if not self.tag_entities[tag]: self.tag_entities.pop(tag)