summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/mlte/mlted.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Demo/mlte/mlted.py')
-rw-r--r--Mac/Demo/mlte/mlted.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Demo/mlte/mlted.py b/Mac/Demo/mlte/mlted.py
index 323ea62..f9ccd21 100644
--- a/Mac/Demo/mlte/mlted.py
+++ b/Mac/Demo/mlte/mlted.py
@@ -275,7 +275,7 @@ class Mlted(Application):
fp = open(path, 'rb') # NOTE binary, we need cr as end-of-line
data = fp.read()
fp.close()
- except IOError, arg:
+ except IOError as arg:
EasyDialogs.Message("IOERROR: %r" % (arg,))
return
else: