diff --git a/voussoirkit/pipeable.py b/voussoirkit/pipeable.py index 68b820d..b964f4e 100644 --- a/voussoirkit/pipeable.py +++ b/voussoirkit/pipeable.py @@ -42,7 +42,7 @@ def ctrlc_return1(function): ''' def wrapped(*args, **kwargs): try: - function(*args, **kwargs) + return function(*args, **kwargs) except KeyboardInterrupt: return 1 return wrapped