From 9f6d01c70db854e6dc12c3fcf4fdee1565ec46b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 11 Jul 2023 07:52:03 +0200 Subject: [PATCH] Continued: - just remove that single hash to get final SQL statements being printed --- fba/database.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fba/database.py b/fba/database.py index b87d94d..4a1ceb6 100644 --- a/fba/database.py +++ b/fba/database.py @@ -22,6 +22,9 @@ logger = logging.getLogger(__name__) # Connect to database connection = sqlite3.connect("blocks.db") +# Attach trace function +#connection.set_trace_callback(print) + # Init row factory connection.row_factory = sqlite3.Row -- 2.39.5