Impact ------ The Thawab app doesn't start.
ImportError: cannot import name 'escape' from 'cgi' (/usr/lib/python3.10/cgi.py)
Python 3.8 dropped the 'escape' function from cgi; we need to import it from 'html' instead.
Test Case --------- Install Thawab.
The app should run. (The command-line name is thawab-gtk)
What Could Go Wrong ------------------- The app doesn't start. This is a one-line fix to allow the app to start.
Impact
------
The Thawab app doesn't start.
ImportError: cannot import name 'escape' from 'cgi' (/usr/lib/ python3. 10/cgi. py)
Python 3.8 dropped the 'escape' function from cgi; we need to import it from 'html' instead.
Test Case
---------
Install Thawab.
The app should run. (The command-line name is thawab-gtk)
What Could Go Wrong
-------------------
The app doesn't start. This is a one-line fix to allow the app to start.