projects
/
matthijs
/
upstream
/
mobilegtd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33d6be5
)
Always call run() from main.py.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 12 Aug 2009 18:52:40 +0000
(20:52 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 13 Aug 2009 09:58:42 +0000
(11:58 +0200)
Previously, run() was only called when main.py was the main module, but
this is never the case (since default.py is the main module).
src/main.py
patch
|
blob
|
history
diff --git
a/src/main.py
b/src/main.py
index 80a7538fe77a691afa9f9d9b8d18b8eaf3b05014..85065dd9d0721cc481033fea15ec75a2c7dfecef 100644
(file)
--- a/
src/main.py
+++ b/
src/main.py
@@
-83,6
+83,6
@@
def run():
logger.close()
-if __name__ == "__main__":
- run()
+run()
+
#tr.stop()