minor fix

This commit is contained in:
Camilo Sarmiento 2020-06-20 12:15:05 -05:00
parent 1dffcfc151
commit 784786bb27

View file

@ -131,8 +131,8 @@ class Employee(metaclass=PoolMeta):
'city_born': row[27],
'education': row[29],
'profession': row[28],
'weight': float(row[30]),
'health': float(row[32]),
'weight': float(row[30]) if row[30] else None,
'health': float(row[32]) if row[32] else None,
'notes': row[33],
'addresses': [('create', [{
'street': row[3],