Quote:
Originally Posted by gldnbrwncouches
I'm having an issue installing this plugin in Calibre 4.5 (installed from Fedora 31 distro repo). After downloading the plugin I made the following changes in lines 10-13 in __init__.py to make it compatible with import statements for Python 3 libraries.
import time, re
from html.parser import HTMLParser
from urllib.parse import quote, unquote
from queue import Queue, Empty
After those changes and re-zipping the files, it seems to install and work just fine for me. Has anyone else had this issue? Should it have worked fine in my version of Calibre without the changes I made? Is there a repo where I can submit a pull request (maybe one that can somehow import according to python version)?
Thanks @davidfor for this excellent plugin!
|
Those are roughly the changes I have for the Python 3, but with checks to be backwardly compatible. I haven't been any hurry to release it. I will in the next week if people are using Python 3 already.