Open dbro opened 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
I'm sorry. I totally missed this. I'll have a look and try to update this. Thanks for posting.
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