Whitespace normalization.

This commit is contained in:
Tim Peters 2006-06-14 22:38:13 +00:00
parent b2e8816403
commit 5d538b603f
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ class SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
return self.extensions_map[ext]
else:
return self.extensions_map['']
if not mimetypes.inited:
mimetypes.init() # try to read system mime.types
extensions_map = mimetypes.types_map.copy()