summaryrefslogtreecommitdiffstats
path: root/Lib/plat-irix6/jpeg.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-irix6/jpeg.py')
-rw-r--r--Lib/plat-irix6/jpeg.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/plat-irix6/jpeg.py b/Lib/plat-irix6/jpeg.py
index c1ed669..1af6a01 100644
--- a/Lib/plat-irix6/jpeg.py
+++ b/Lib/plat-irix6/jpeg.py
@@ -5,7 +5,8 @@
# XXX It appears that compressing grayscale images doesn't work right;
# XXX the resulting file causes weirdness.
-error = 'jpeg.error' # Exception
+class error(Exception):
+ pass
options = {'quality': 75, 'optimize': 0, 'smooth': 0, 'forcegray': 0}