summaryrefslogtreecommitdiff
path: root/cutter.py
diff options
context:
space:
mode:
Diffstat (limited to 'cutter.py')
-rwxr-xr-xcutter.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cutter.py b/cutter.py
index b11365d..d4dfd1c 100755
--- a/cutter.py
+++ b/cutter.py
@@ -321,8 +321,6 @@ def write_titles(splitter, filename):
fp.close()
def main():
- signal.signal(signal.SIGINT, sigint_handler)
-
options = parse_args()
if not process_options(options):
sys.exit(1)
@@ -369,4 +367,5 @@ def main():
return 0
if __name__ == '__main__':
+ signal.signal(signal.SIGINT, sigint_handler)
sys.exit(main())