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:
@@ -0,0 +1,6 @@
|
||||
import mimetypes
|
||||
import pkg_resources
|
||||
|
||||
|
||||
mimetypes.init([pkg_resources.
|
||||
resource_filename('ebook_converter', 'data/mime.types')])
|
||||
|
||||
Reference in New Issue
Block a user