summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/mimetypes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index c4d1860..8f5c076 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -197,9 +197,10 @@ types_map = {
'.pnm': 'image/x-portable-anymap',
'.png': 'image/png',
'.ppm': 'image/x-portable-pixmap',
+ '.ps': 'application/postscript',
'.py': 'text/x-python',
'.pyc': 'application/x-python-code',
- '.ps': 'application/postscript',
+ '.pyo': 'application/x-python-code',
'.qt': 'video/quicktime',
'.ras': 'image/x-cmu-raster',
'.rgb': 'image/x-rgb',