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