X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/bc94318d8349404f7112a6214c782cfc1c290a64..105597be056bf9cbf3bb4c15f9bc516479e48ee2:/nominatim/db/connection.py?ds=sidebyside diff --git a/nominatim/db/connection.py b/nominatim/db/connection.py index 77d463d8..a64cbfaf 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[no-untyped-call] + LOG.debug(self.mogrify(query, args).decode('utf-8')) # type: ignore[arg-type] super().execute(query, args)