X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8106e67f1425094b2642f3ccdbe9760f63955768..ee556fd42e6713a31bc784d762736df0e4d4f85d:/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)