aboutsummaryrefslogtreecommitdiff
path: root/gn3/auth/db.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-06-05 06:16:28 +0300
committerFrederick Muriuki Muriithi2023-06-05 06:16:28 +0300
commit1a22f2b5dedd3a685bb2869f1b51f590eca36c5a (patch)
tree732886f5b7742e15390e13bb042aa677232bee96 /gn3/auth/db.py
parent439eb22f75c402bc91efb8cd37cb4e67f2fc09ca (diff)
downloadgenenetwork3-1a22f2b5dedd3a685bb2869f1b51f590eca36c5a.tar.gz
Logging: Get user information.
Diffstat (limited to 'gn3/auth/db.py')
-rw-r--r--gn3/auth/db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/auth/db.py b/gn3/auth/db.py
index 9d5463f..7c20bf7 100644
--- a/gn3/auth/db.py
+++ b/gn3/auth/db.py
@@ -48,7 +48,7 @@ class DbCursor(Protocol):
@contextlib.contextmanager
def connection(db_path: str, row_factory: Callable = sqlite3.Row) -> Iterator[DbConnection]:
"""Create the connection to the auth database."""
- logging.debug(f"SQLite3 DB Path: '{db_path}'.")
+ logging.debug("SQLite3 DB Path: '%s'." % (db_path,))
conn = sqlite3.connect(db_path)
conn.row_factory = row_factory
conn.set_trace_callback(logging.debug)