Server - daemon
authorAdriana Draghici <adriana008@gmail.com>
Tue, 19 Jan 2010 11:17:43 +0000 (13:17 +0200)
committerAdriana Draghici <adriana008@gmail.com>
Tue, 19 Jan 2010 11:17:43 +0000 (13:17 +0200)
server/Server.py

index e7bba46..6723520 100644 (file)
@@ -6,15 +6,11 @@ import sys, time, os
 from daemon import Daemon
 
 def doServer():
-       #fin = open("/home/adriana/t.txt", "rw");
-       #print >> fin, "hello"
 
        os.spawnvp(os.P_NOWAIT,"/usr/bin/transmission",[])
-       #fin.close()
 
 class MyDaemon(Daemon):
        def run(self):
-       #       os.spawnvp(os.P_NOWAIT,"/usr/bin/transmission",[])
                doServer()      
        
 if __name__ == "__main__":