From c81a06998f1de7e5f97a7c9599310c34214cec8f Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 16 Aug 2001 18:14:38 +0000 Subject: [PATCH] Another egregious error that copied the encodings info over the suffix info. Caught by the tests that I'm writing now. --- Lib/mimetypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index f7c4a7609af..c53c33c8b90 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -193,7 +193,7 @@ def init(files=None): if os.path.isfile(file): db.readfp(open(file)) encodings_map = db.encodings_map - suffix_map = db.encodings_map + suffix_map = db.suffix_map types_map = db.types_map guess_extension = db.guess_extension guess_type = db.guess_type