cleanup: remove debug prints and unused import

parent a50bfbe4
......@@ -5,7 +5,6 @@ import io
import gzip
from .. import models
from pprint import pprint
async def packages_parser(html: str, url: str):
soup = BeautifulSoup(html, "html.parser")
......
......@@ -94,9 +94,7 @@ async def alrtrepo_users(m: Message, user_id: int, role: str):
if not user_id or not role:
return
print(1)
if DB.user.remove_role(user_id, role):
print(2)
await m.answer("Роль удалена")
await tg_api.send_message(
......
......@@ -86,9 +86,8 @@ async def news_handler(
chat_id=m.from_user.id, text="Перевод не удался :("
)
return
print(len(added))
for msg in added:
await m.ctx_api.send_message(
chat_id=m.from_user.id, text=f"{msg}"
)
......
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