X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f029fb3c656788b44fa758e627592d27014528d5..8a1af9b56659d4ef956f45da2928687a17dea20a:/nominatim/db/connection.py diff --git a/nominatim/db/connection.py b/nominatim/db/connection.py index a64cbfaf..fce897bc 100644 --- a/nominatim/db/connection.py +++ b/nominatim/db/connection.py @@ -31,7 +31,7 @@ class Cursor(psycopg2.extras.DictCursor): """ Query execution that logs the SQL query when debugging is enabled. """ if LOG.isEnabledFor(logging.DEBUG): - LOG.debug(self.mogrify(query, args).decode('utf-8')) # type: ignore[arg-type] + LOG.debug(self.mogrify(query, args).decode('utf-8')) super().execute(query, args)