From: W. Trevor King Date: Sat, 14 Aug 2010 07:58:05 +0000 (-0400) Subject: Oops, protect hk.py's hooke.main() call with if __name__ == '__main__'. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=90442ce109b13941181c497efb24df6ad52a1105;p=hooke.git Oops, protect hk.py's hooke.main() call with if __name__ == '__main__'. *This* fixes amantedpaz' crash ;). --- diff --git a/bin/hk.py b/bin/hk.py index 7bf1b13..04b6ca5 100755 --- a/bin/hk.py +++ b/bin/hk.py @@ -2,4 +2,6 @@ import hooke.hooke -hooke.hooke.main() + +if __name__ == '__main__': + hooke.hooke.main()