From: Matthijs Kooijman Date: Wed, 12 Aug 2009 18:52:40 +0000 (+0200) Subject: Always call run() from main.py. X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fmobilegtd.git;a=commitdiff_plain;h=b7a99e202b428cf50549b99ae664f1f8f2caeb52 Always call run() from main.py. 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). --- diff --git a/src/main.py b/src/main.py index 80a7538..85065dd 100644 --- a/src/main.py +++ b/src/main.py @@ -83,6 +83,6 @@ def run(): logger.close() -if __name__ == "__main__": - run() +run() + #tr.stop()