Skip to content

Commit

Permalink
do not explode on ctrl+c
Browse files Browse the repository at this point in the history
  • Loading branch information
darkconsole committed Jan 15, 2016
1 parent 4ddc48c commit 6f76915
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pymaster.py
Expand Up @@ -152,4 +152,7 @@ def assign_routines():


if __name__ == '__main__':
main()
try:
main()
except KeyboardInterrupt:
sys.exit()

0 comments on commit 6f76915

Please sign in to comment.