You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Проблемная я так понимаю строка 208 в fossnewsbot/handlers.py:
elif cmd == Command.IS_MAIN:
--> fngs.update_attempt(user, news_id, 'estimated_is_main', result == Result.YES)
if result == Result.YES:
text += append_result(config.marker.is_main, _('Main'))
else:
text += append_result(config.marker.short, _('Short'))
if config.features.types or user.is_editor():
markup = keyboards.types(news_id, fngs.types, user.lang)
else:
markup = keyboards.next_news()
Она сразу обновляет запись, не разобрав ответ.
The text was updated successfully, but these errors were encountered:
Gim6626
changed the title
Даже если is_main в расширенном режиме бота не устанавливалась, в БД создаётся
Даже если is_main в расширенном режиме бота не устанавливалась, в БД создаётся значение False
Nov 12, 2021
Проблемная я так понимаю строка 208 в
fossnewsbot/handlers.py
:Она сразу обновляет запись, не разобрав ответ.
The text was updated successfully, but these errors were encountered: