db creation fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-09-06 09:09:07 +09:00
parent 405e663da4
commit c6104455d8
3 changed files with 6 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ def main():
if not TELEGRAM_TOKEN:
print("Ошибка: TELEGRAM_TOKEN не найден в переменных окружения.")
return
sync_to_async(init_db())
# sync_to_async(init_db())
application = Application.builder().token(TELEGRAM_TOKEN).build()
application.add_handler(CommandHandler('start', start))
application.add_handler(CommandHandler('help', help_command))