cgi.escape is deprecated, use html.escape instead
renefs opened this issue · 0 comments
renefs commented
Hi,
We are getting this error:
/opt/app-root/lib/python3.4/site-packages/wtforms_components/widgets.py:278: DeprecationWarning: cgi.escape is deprecated, use html.escape instead
data = (html_params(**options), escape(six.text_type(label))
Just replacing to to html.escape would do the work?