andersju / zzzfoo

Full-text desktop search with Rofi+Recoll
GNU General Public License v2.0
121 stars 8 forks source link

script no longer works with latest version of python (3.8) #7

Closed PureArtistry closed 4 years ago

PureArtistry commented 4 years ago

I think the escape fuction was removed from cgi in the latest version of python (not certain, tbh I know very little about python)

After a bit of searching I figured out that if you change line 18 to:

from html import escape

it all works fine again.

Cool script btw, I've been using it for ages, thanks for making it!

andersju commented 4 years ago

Nice catch, thanks!