summaryrefslogtreecommitdiff
path: root/imdb-lookup/imdbinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'imdb-lookup/imdbinfo.py')
-rwxr-xr-ximdb-lookup/imdbinfo.py2
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):