1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-03-17 07:13:42 +01:00

Moved mime types initialization early ath the package stage.

This commit is contained in:
2021-07-02 20:00:24 +02:00
parent cf9fe0155b
commit ac2aa81d42
2 changed files with 8 additions and 9 deletions

View File

@@ -0,0 +1,6 @@
import mimetypes
import pkg_resources
mimetypes.init([pkg_resources.
resource_filename('ebook_converter', 'data/mime.types')])