Convert fuzzy to int for exportation
This commit is contained in:
1 parent
83297dc6c3
commit
cbc314d362
1 file changed
+2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user