1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-02-20 00:35:47 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
1c04e7a4c7 More cleanups. Removing version function. 2020-06-15 22:22:55 +02:00
3f8844832d Move strftime to util.date module
In this patch strftime function is moved out of main __init__.py module
to util.date, where it belongs.
2020-06-14 20:47:01 +02:00
1465e4267f Sorted out mime initialization.
Every mime related function in main __init__.py has a flag check for the
check if initialization has already done. This is nonsense, since it
should be done implicitly early on the converter is starting.

This commit straight the things out, and initialization is done in cli
module.

Also, function guess_type was removed, since it's just a proxy for
mimetypes.guess_type function.
2020-06-14 15:41:18 +02:00
ebb2e810eb Removed 'browser' related functions 2020-06-14 12:28:23 +02:00
be671ef2d8 Removed isbytestring function 2020-06-14 12:10:40 +02:00
2c78d6e3a6 Renamed constants, to make room for real constants module 2020-05-26 19:52:18 +02:00
212cb56d42 Removed gettext related functions 2020-05-03 19:04:07 +02:00
35445cb736 More cleanup 2020-05-03 15:37:23 +02:00
9e076e0af4 Removed superfluous lopen builtin 2020-04-20 21:12:22 +02:00
c867f0321b Removing couple of "buildins" polyglot types 2020-04-20 20:22:50 +02:00
128705f258 Removed polyglots unicode_type usage 2020-04-20 19:25:28 +02:00
b66cbd2c1e Removed overwritten builtins from mosto of the files.
Just started the process of cleaning up the code base.
2020-04-19 19:06:09 +02:00
48fedea799 Removing unneeded from __future__ import statements.
Since we are on Python 3.6 and up, we don't need those anymore.
2020-04-19 17:39:02 +02:00
0f9792df36 Convert calibre modules to ebook_converter.
Here is the first batch of modules, which are needed for converting
several formats to LRF. Some of the logic has been change, more cleanups
will follow.
2020-04-19 15:16:48 +02:00
d97ea9b0bc Initial import 2020-04-11 19:27:06 +02:00