news.bugs: update format

parent c8ab6ff6
...@@ -52,7 +52,7 @@ async def bugs_parser(html: str, url: str): ...@@ -52,7 +52,7 @@ async def bugs_parser(html: str, url: str):
if not line.strip(): if not line.strip():
continue continue
if re.match(r"^Total\s+\d+\s+pending bugs", line.strip(), re.IGNORECASE): if re.match(r"^Total\s+\d+\s+pending bugs", line.strip(), re.IGNORECASE):
continue break
description_buffer += line.strip() + " " description_buffer += line.strip() + " "
if current_bug and section_name: if current_bug and section_name:
......
...@@ -33,7 +33,7 @@ async def format_bugs(bugs: BugsModel): ...@@ -33,7 +33,7 @@ async def format_bugs(bugs: BugsModel):
bug_message += ( bug_message += (
"Источник: " + "Источник: " +
HTMLFormatter(link(bugs.url, text="sisyphus-cybertalk")) + HTMLFormatter(bold(link(bugs.url, text="sisyphus-cybertalk"))) +
"\n\n#Репорты\n\n" "\n\n#Репорты\n\n"
"Сформировано при помощи " + "Сформировано при помощи " +
HTMLFormatter(bold(link("https://t.me/altlinux_packages_bot", text="ALT Packages Bot"))) HTMLFormatter(bold(link("https://t.me/altlinux_packages_bot", text="ALT Packages Bot")))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment