Convert fuzzy to int for exportation

This commit is contained in:
Cédric Krier committed 2008-05-19 12:24:07 +02:00
1 parent 83297dc6c3
commit cbc314d362
1 file changed
+2
+2
View File
@@ -421,6 +421,8 @@ class Translation(OSV, Cacheable):
if model in db_id2fs_id:
res_id = db_id2fs_id[model].get(res_id, res_id)
row.append(res_id)
elif field == 'fuzzy':
row.append(int(translation[field]))
else:
row.append(translation[field])
writer.writerow(row)