Commit 8dc2947a authored by Jeroen F.J. Laros's avatar Jeroen F.J. Laros

Catching SSL error.

parent bb81ae0c
......@@ -39,6 +39,7 @@ positional arguments:
optional arguments:
-h, --help show this help message and exit
-o OUTPUT output file
-n disable ssl certificate check
```
### Typical usage
......
......@@ -8,7 +8,7 @@ Copyright (c) 2016 Jeroen F.J. Laros <J.F.J.Laros@lumc.nl>
Licensed under the MIT license, see the LICENSE file.
"""
__version_info__ = ('0', '0', '2')
__version_info__ = ('0', '0', '3')
__version__ = '.'.join(__version_info__)
......
......@@ -356,7 +356,7 @@ def main():
args.func(
**{k: v for k, v in vars(args).items()
if k not in ('func', 'subcommand')})
except (ValueError, IOError), error:
except (ValueError, IOError, OSError), error:
parser.error(error)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment