1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-02-19 07:55:52 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
4216fef20e Removed prints and extract function from init module 2020-07-13 21:38:06 +02:00
dd60a1cd26 Removed guess_all_extensions 2020-06-14 15:54:38 +02:00
9891d02694 Fixed flake8 issues to several modules 2020-06-14 15:49:11 +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
ce89f5c9d1 Use the real constants module.
This is progressing refactor of the calibre code to make it more
readable, and transform it to something more coherent.

In this patch, there are changes regarding imports for some modules,
instead of polluting namespace of each module with some other modules
symbols, which often were imported from other modules. Yuck.
2020-05-29 17:04:53 +02:00
212cb56d42 Removed gettext related functions 2020-05-03 19:04:07 +02:00
128705f258 Removed polyglots unicode_type usage 2020-04-20 19:25:28 +02:00
571da747b3 Fix license formatting 2020-04-19 17:50:19 +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
fa3cf5c178 Added FB2 format. 2020-04-19 15:16:48 +02:00
9f18513787 Added calibre fb2 modules 2020-04-13 12:09:30 +02:00