Closed MMquant closed 11 months ago
if len(r_reference.content[0:COMPARE_FIRST_CHARS]) != 0:
score['dist_content'] = 100 - ( dist*100 / len(r_reference.content[0:COMPARE_FIRST_CHARS]) )
seems to fix it
Should be ok now, let me know.
Thank you!
This is fixed but in the meantime I found another division by zero bug. Will create a new issue.