Bug#975395: anki: Fails with Python3.9 due to use of deprecated unescape() method

2020-12-07 Thread Florian Schlichting
Control: severity -1 serious Hi, "more complex HTML templates" in my case means that I actually enter an answer and then get a comparison for correctness (the "{{type:answer}}" tag). Anki won't update to show the comparison, rate correctness and go on with the next card, but display the following

Bug#975395: anki: Fails with Python3.9 due to use of deprecated unescape() method

2020-11-21 Thread Simon Ruderich
Package: anki Version: 2.1.15+dfsg-2 Severity: normal Tags: patch Hello, since the update to python3.9 Anki fails with the following exception when reviewing more complex HTML templates: : 'HTMLParser' object has no attribute 'unescape' The following patch fixes this issue for me: --- /usr