(self)
return self.running
Initialize the server in the background
Initialize the server in the background
Initialize the server in the background
def initialize_bg(self):
        """Initialize the server in the background
        """
        util.Msg('Running HTTP server')
        http_thread = Thread(target=self.initialize)
        http_thread.start()

        sleep(1)    # make sure it starts up
        return self.running
def initialize_bg ( self ) : util . Msg ( 'Running HTTP server' ) http_thread = Thread ( target = self . initialize ) http_thread . start ( ) sleep ( 1 ) # make sure it starts up return self . running