fix small error in parse_boolean

This commit is contained in:
niphlod
2013-05-17 21:23:24 +02:00
parent 2c9eeccc0e
commit 59a3c5a6e6
+1 -1
View File
@@ -1913,7 +1913,7 @@ class BaseAdapter(ConnectionPool):
return value
def parse_boolean(self, value, field_type):
return value == True or str(value)[:1].lower() == 't'
return value == self.TRUE or str(value)[:1].lower() == 't'
def parse_date(self, value, field_type):
if isinstance(value, datetime.datetime):