projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d9fcf7
)
Oops, protect hk.py's hooke.main() call with if __name__ == '__main__'.
author
W. Trevor King
<wking@drexel.edu>
Sat, 14 Aug 2010 07:58:05 +0000
(
03:58
-0400)
committer
W. Trevor King
<wking@drexel.edu>
Sat, 14 Aug 2010 07:58:05 +0000
(
03:58
-0400)
*This* fixes amantedpaz' crash ;).
bin/hk.py
patch
|
blob
|
history
diff --git
a/bin/hk.py
b/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()