fix: Add missing sqlite3 import and improve database connection robustness by verifying and safely closing connections.

This commit is contained in:
Marco Gallegos
2025-12-22 15:08:04 -06:00
parent cfd359c231
commit 4ad40c48e9
3 changed files with 38 additions and 5 deletions

View File

@@ -2,6 +2,7 @@
import json
import logging
import os
import sqlite3
from bot.db import get_db_connection
from bot.modules.sales_rag import generate_sales_pitch
from bot.modules.nfc_tag import generate_nfc_tag