From 90442ce109b13941181c497efb24df6ad52a1105 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 14 Aug 2010 03:58:05 -0400 Subject: [PATCH] Oops, protect hk.py's hooke.main() call with if __name__ == '__main__'. *This* fixes amantedpaz' crash ;). --- bin/hk.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() -- 2.26.2