mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-31 18:40:09 +03:00
add s to placeholder string
This commit is contained in:
parent
bab166e2c1
commit
a042309128
|
@ -442,7 +442,7 @@ class Placeholder(Composable):
|
|||
|
||||
def as_string(self, context):
|
||||
if self._wrapped is not None:
|
||||
return f"%({self._wrapped})"
|
||||
return f"%({self._wrapped})s"
|
||||
else:
|
||||
return "%s"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user