summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/imgbrowse/imgbrowse.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Demo/imgbrowse/imgbrowse.py')
-rw-r--r--Mac/Demo/imgbrowse/imgbrowse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Demo/imgbrowse/imgbrowse.py b/Mac/Demo/imgbrowse/imgbrowse.py
index 28dffd3..57cddd3 100644
--- a/Mac/Demo/imgbrowse/imgbrowse.py
+++ b/Mac/Demo/imgbrowse/imgbrowse.py
@@ -52,7 +52,7 @@ class imgbrowse(FrameWork.Application):
bar = EasyDialogs.ProgressBar('Reading and converting...')
try:
rdr = img.reader(imgformat.macrgb16, pathname)
- except img.error, arg:
+ except img.error as arg:
EasyDialogs.Message(repr(arg))
return
w, h = rdr.width, rdr.height