gitonthescene / csv-reconcile-levenshtein

MIT License
0 stars 0 forks source link

Error when setting up reconciliation settings #2

Open dbro opened 1 year ago

dbro commented 1 year ago

File "/home/me/src/csv-reconcile/csv_reconcile_levenshtein/init.py", line 22 in scoreMatch ln = max(left, right) * 1.0

TypeError: can't multiply sequence by non-int of type 'float'

The values for left and right are strings, so it makes better sense to change this line to be ln = max(len(left), len(right)) * 1.0

gitonthescene commented 5 months ago

I'm sorry. I totally missed this. I'll have a look and try to update this. Thanks for posting.