Jim Miller
66520e236c
Remove unused imports fanficfare
2021-01-25 20:53:31 -06:00
Jim Miller
7ba1f58788
Remove unused func from mobi.py, possible py2/3 issues.
2020-04-12 10:36:31 -05:00
Eli Schwartz
4d1be812e8
python3: use the io module everywhere
...
Make the calibre plugin usage work on python3. Since FanFicFare does not
support python 2.5, make it work by using the modern idiom.
Essentially, six.StringIO and six.BytesIO makes no sense to use
anywhere, since any code that works on python3 at all will also work
with the io module in python >= 2.6. The only caveat is that the
unadorned str type in python2 works with neither, but it is always best
to be explicit and use either unicode or bytes.
2019-12-17 10:44:06 -06:00
Jim Miller
0af88089c5
Move mobi TOC back to after title page. Requested by jxxtan.
2018-09-16 13:31:39 -05:00
Jim Miller
b1cea64b84
Tweak mobi output--move TOC to end.
2018-08-23 11:53:50 -05:00
Jim Miller
ff5e27a89c
MOBI Debug output
2018-08-10 11:33:08 -05:00
Jim Miller
a93eeec5eb
Fix for mobi output--link to TOC works again--was broken by html5lib enforcing html5 rules.
2018-08-09 19:54:01 -05:00
Jim Miller
83d923300d
Fix for mobi issue with 0 byte record markers being misplaced.
2018-08-09 14:36:08 -05:00
Jim Miller
d0f8687520
Fixing mobi output for python2/3 dual version.
2018-08-03 09:55:02 -05:00
Jim Miller
84f1f6f6d1
Added own copy of six.py as fanficfare.six for ensure_str etc.
2018-08-03 09:53:00 -05:00
Jim Miller
8627bee253
test1.com with epub/txt/html output working, mobi broken.
2018-08-03 09:52:59 -05:00
Jim Miller
a7a08b44ce
Working towards python 2.7 & 3 cross compatibility.
2018-08-03 09:52:59 -05:00
Jim Miller
3f196cd135
Working towards python 2.7 & 3 cross compatibility.
2018-08-03 09:52:59 -05:00
Jim Miller
b3e72a271c
Move fff_internals package to fanficfare, share defaults.ini/example.ini between cli and web service again.
2015-04-08 13:49:36 -05:00