From: Roland Häder Date: Tue, 11 Jul 2023 05:52:03 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9f6d01c70db854e6dc12c3fcf4fdee1565ec46b9;p=fba.git Continued: - just remove that single hash to get final SQL statements being printed --- 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