Check if mimetypes was already inited.

Created originally on Bitbucket by VnC

Was already merged in Bitbucket before import, marked as merged by the import user

This avoids a Python bug when mimetypes is inited more than once: https://bugs.python.org/issue4963

Merge request reports

Loading