diff --git a/composer/schema/grid/field.py b/composer/schema/grid/field.py index b972655..83c57ea 100644 --- a/composer/schema/grid/field.py +++ b/composer/schema/grid/field.py @@ -126,7 +126,10 @@ class RecordsFieldInstance(GridFieldInstance): item = {} empty = True for fi in self.columnFieldInstances: - value = fi.unmarshall(row[fi.name].strip()) + value = row[fi.name] + if isinstance(value, basestring): + value = value.strip() + value = fi.unmarshall(value) item[fi.name] = value if fi.default is not None: if value and value != fi.default: