Error When Bench update to v13.22

I got this error
Traceback (most recent call last):
File “/usr/lib/python3.6/runpy.py”, line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.6/runpy.py”, line 109, in _get_module_details
import(pkg_name)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 30, in
from .utils.jinja import (get_jenv, get_template, render_template, get_email_from_template, get_jloader)
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/init.py”, line 27, in
from frappe.utils.html_utils import sanitize_html
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/html_utils.py”, line 5, in
from bleach_allowlist import bleach_allowlist
ModuleNotFoundError: No module named ‘bleach_allowlist’

Backing up sites…
Traceback (most recent call last):
File “/usr/lib/python3.6/runpy.py”, line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.6/runpy.py”, line 109, in _get_module_details
import(pkg_name)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 30, in
from .utils.jinja import (get_jenv, get_template, render_template, get_email_from_template, get_jloader)
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/init.py”, line 27, in
from frappe.utils.html_utils import sanitize_html
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/html_utils.py”, line 5, in
from bleach_allowlist import bleach_allowlist
ModuleNotFoundError: No module named ‘bleach_allowlist’

Hi,

Take a look at this thread:

https://discuss.frappe.io/t/cant-update-to-version-13-22-modulenotfounderror-no-module-named-bleach-allowlist/86992

Thanks it works for me