Oops, protect hk.py's hooke.main() call with if __name__ == '__main__'.
[hooke.git] / bin / hk.py
index 7bf1b138053d42cb0e880512705f5e7c923fe908..04b6ca5f23b6544b5c8d43d6f481603ff3c5b7b5 100755 (executable)
--- a/bin/hk.py
+++ b/bin/hk.py
@@ -2,4 +2,6 @@
 
 import hooke.hooke
 
-hooke.hooke.main()
+
+if __name__ == '__main__':
+    hooke.hooke.main()