AttributeError: 'SequenceMatcher' object has no attribute 'matching_blocks'

While performing bank reconciliation -

Traceback (most recent call last):
File “/opt/erpnext/erpnext/apps/frappe/frappe/app.py”, line 64, in application
response = frappe.api.handle()
File “/opt/erpnext/erpnext/apps/frappe/frappe/api.py”, line 58, in handle
return frappe.handler.handle()
File “/opt/erpnext/erpnext/apps/frappe/frappe/handler.py”, line 30, in handle
data = execute_cmd(cmd)
File “/opt/erpnext/erpnext/apps/frappe/frappe/handler.py”, line 69, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/opt/erpnext/erpnext/apps/frappe/frappe/init.py”, line 1086, in call
return fn(*args, **newargs)
File “/opt/erpnext/erpnext/apps/erpnext/erpnext/accounts/page/bank_reconciliation/bank_reconciliation.py”, line 62, in get_linked_payments
return check_amount_vs_description(amount_matching, description_matching)
File “/opt/erpnext/erpnext/apps/erpnext/erpnext/accounts/page/bank_reconciliation/bank_reconciliation.py”, line 267, in check_amount_vs_description
if difflib.SequenceMatcher(lambda x: x == " ", am_match[“reference_no”], des_match[“reference_no”]).ratio() > 70:
File “/usr/lib/python3.6/difflib.py”, line 644, in ratio
matches = sum(triple[-1] for triple in self.get_matching_blocks())
File “/usr/lib/python3.6/difflib.py”, line 465, in get_matching_blocks
if self.matching_blocks is not None:
AttributeError: ‘SequenceMatcher’ object has no attribute ‘matching_blocks’

fix: Sequence Matcher error in Bank Reconciliation by marination · Pull Request #23539 · frappe/erpnext · GitHub It is a bug that is being worked upon