summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r--lib/sqlalchemy/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/types.py b/lib/sqlalchemy/types.py
index fafae076b..ce1cec778 100644
--- a/lib/sqlalchemy/types.py
+++ b/lib/sqlalchemy/types.py
@@ -71,7 +71,7 @@ class String(NullTypeEngine):
self.length = length
self.is_unicode = is_unicode
def adapt(self, typeobj):
- return typeobj(self.length)
+ return typeobj(self.length, self.is_unicode)
def adapt_args(self):
if self.length is None:
return TEXT(is_unicode=self.is_unicode)