We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8466680 commit 9ff872aCopy full SHA for 9ff872a
src/interfaces/python/pg.py
@@ -29,7 +29,7 @@ def _quote(d, t):
29
30
if t == 'bool':
31
# Can't run upper() on these
32
- if d in (0, 1): return ('f', 't')[d]
+ if d in (0, 1): return ("'f'", "'t'")[d]
33
34
if string.upper(d) in ['T', 'TRUE', 'Y', 'YES', '1', 'ON']:
35
return "'t'"
0 commit comments