diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index f1a1a3e3cb4..1f2c9d6a876 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -192,7 +192,7 @@ class MimeTypes: types. """ fp = open(filename) - self.readfp(fp) + self.readfp(fp, strict) fp.close() def readfp(self, fp, strict=True):