summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/databases/firebird.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/databases/firebird.py')
-rw-r--r--lib/sqlalchemy/databases/firebird.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/firebird.py b/lib/sqlalchemy/databases/firebird.py
index 9f9dcd634..243bd46d8 100644
--- a/lib/sqlalchemy/databases/firebird.py
+++ b/lib/sqlalchemy/databases/firebird.py
@@ -197,7 +197,7 @@ class FBChar(sqltypes.CHAR):
"""Handle ``CHAR(length)`` datatype."""
def get_col_spec(self):
- if length:
+ if self.length:
return "CHAR(%(length)s)" % {'length' : self.length}
else:
return "BLOB SUB_TYPE 1"