diff options
-rwxr-xr-x | Demo/scripts/from.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/scripts/from.py b/Demo/scripts/from.py index 394af8d..3213aea 100755 --- a/Demo/scripts/from.py +++ b/Demo/scripts/from.py @@ -16,7 +16,7 @@ except (AttributeError, KeyError): try: mail = open(mailbox, 'r') -except RuntimeError: +except IOError: sys.stderr.write('Cannot open mailbox file: ' + mailbox + '\n') sys.exit(2) |