Jim Miller
66520e236c
Remove unused imports fanficfare
2021-01-25 20:53:31 -06:00
Eli Schwartz
d226f4791f
fix deprecation warnings for logger.warn()
...
The correct function since 2003 has been .warning(), and .warn() is a
compat wrapper over it. It wasn't documented until
https://bugs.python.org/issue13235 added documentation stating it exists
but is obsolete. Nevertheless, the whole world is full of code that
mysteriously uses it anyway. Let's at least remove it here, though.
2020-07-20 13:55:12 -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
6fbf3bc282
Fix for mobi broken page breaks at 'file' boundries and inline 'TOC' links.
2018-08-09 17:31:31 -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
9397c5e1f7
Fix a stray print to log in mobihtml.py
2018-08-08 22:17:34 -05:00
Jim Miller
00de815e65
Add absolute_import imports.
2018-08-03 09:54:59 -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
3f196cd135
Working towards python 2.7 & 3 cross compatibility.
2018-08-03 09:52:59 -05:00