lipwig icon indicating copy to clipboard operation
lipwig copied to clipboard

Compatibility with Python 3.9

Open chimuchile opened this issue 1 year ago • 0 comments

I'm getting the below error:

Traceback (most recent call last): File "/Users/cbarrueco/git/lipwig/./lipwig.py", line 7, in <module> from cgi import escape ImportError: cannot import name 'escape' from 'cgi' (/Users/cbarrueco/opt/anaconda3/lib/python3.9/cgi.py)

I've resolved changing the below line in lipwig.py: from cgi import escape to from html import escape

It works fine for me.

chimuchile avatar May 02 '23 17:05 chimuchile