aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/python/pg.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/python/pg.py')
-rw-r--r--src/interfaces/python/pg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/python/pg.py b/src/interfaces/python/pg.py
index 0e40a6e5a47..5fd36eed344 100644
--- a/src/interfaces/python/pg.py
+++ b/src/interfaces/python/pg.py
@@ -29,7 +29,7 @@ def _quote(d, t):
if t == 'bool':
# Can't run upper() on these
- if d in (0, 1): return ('f', 't')[d]
+ if d in (0, 1): return ("'f'", "'t'")[d]
if string.upper(d) in ['T', 'TRUE', 'Y', 'YES', '1', 'ON']:
return "'t'"