diff options
Diffstat (limited to 'imdb-lookup')
-rwxr-xr-x | imdb-lookup/imdbinfo.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/imdb-lookup/imdbinfo.py b/imdb-lookup/imdbinfo.py index bb720ef..1e60fa7 100755 --- a/imdb-lookup/imdbinfo.py +++ b/imdb-lookup/imdbinfo.py @@ -111,6 +111,8 @@ class Protector(object): def protected(*a, **kw): try: return attr(*a,**kw) + except KeyboardInterrupt as e: + raise e except: return None if callable(attr): |