Quote:
Originally Posted by KevinH
Hi DiapDealer,
Once I removed the from future unicode-literals from both mobi_stuff.py and KindleImport.py all warnings went away. When we built up the path to the epub using the literal 'mobi8' we were forcing the entire path to the new epub to be full unicode.
So unless KindleImport.py and mobi_stuff.py actually need the from future unicode_literals stuff, can we remove them?
When I build the python 3 interface, then I will move the python interfaces to be full unicode. Right now much of the launcher/wrapper code depends on the utf-8 strings much like KindleUnpack does.
Thanks,
Kevin
|
When you do the Python 3 interface, please make it run Python 2 code. Calibre doesn't do Python 3 and I don't want there to have to be two versions of the KindleUnpack code that has to be maintained due to Python version differences.