cannot import name 'escape' from 'cgi'

Ian's Avatar

Ian

19 Jan, 2020 09:38 AM

Happens when i try to add a tts tag, any ideas on how to solve it?

Anki 2.1.18 (fb9d59fe) Python 3.8.0 Qt 5.14.0 PyQt 5.13.2
Platform: Windows 10
Flags: frz=True ao=True sv=1

Caught exception:
Traceback (most recent call last):
  File "C:\Users\豬毛\AppData\Roaming\Anki2\addons21\427598962\awesometts\gui\templater.py", line 198, in accept
    from cgi import escape
ImportError: cannot import name 'escape' from 'cgi' (C:\Program Files\Anki\cgi.pyc)

Comments are closed, but you can start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac