In my case the mimetypes were of type 'str', but they needed to be of type 'bytes'. It’s kind of odd, since I would expect the same method to yield the same result on every occasion. Perhaps this should be investigated further (for example the type of the mimetype value on other operating systems)?
In my case the mimetypes were of type 'str', but they needed to be of type 'bytes'. It’s kind of odd, since I would expect the same method to yield the same result on every occasion. Perhaps this should be investigated further (for example the type of the mimetype value on other operating systems)?
Linux 5.12 Python 3.9.5 (ebmlite 3.1.0)