refactor: streamline captcha and thread access
Build and Push (dev) / build (push) Successful in 1m29s

This commit is contained in:
2026-08-08 04:03:32 +05:00
parent 0cc2440736
commit 7e85a1af4c
3 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ class Lolz:
logger.debug(f"Редактирую данные темы {thread_id}...")
try:
if post_body:
thread = await self.client.threads.get(thread_id=thread_id)
thread = await self.get_thread(thread_id=thread_id)
# Чтобы отредактировать соддержимое темы - надо отредактировать первый пост
post = thread.get("first_post", {})