Skip to content

Updated widgets to use html.escape on Python >=3.2

ZacJW requested to merge ZacJW/gnome-dvb-daemon:master into master

cgi.escape was deprecated in Python 3.2, and replaced with html.escape. Since 3.8, cgi.escape has been removed meaning without this change, gnome-dvb-control is not compatible.

@stpf99 tried to fix this in !1 which has not been merged. He however introduced a dependency on supervisor, likely based on this stackoverflow question.

My change doesn't introduce new external dependencies, so it should be more suitable to merge.

Merge request reports