Making the code slightly easier to maintain
[theonering] / src / telepathy-theonering
index fa072c9..baf7dae 100755 (executable)
@@ -1,9 +1,11 @@
 #!/usr/bin/python
 
 import sys
-sys.path.insert(0,"/usr/lib/theonering/")
+sys.path.insert(0, "/usr/lib/theonering")
 
 
 import theonering
 
-theonering.main(logToFile=True)
+
+if __name__ == "__main__":
+       theonering.main(logToFile=True)