def tunnel_open(self):
        ''' Open tunnel '''
        if (self.server.is_server_running() == 'no' or
                self.server.is_server_running() == 'maybe'):
            print("Error: Sorry, you need to have the server running to open a "
                  "tunnel.  Try 'server on' first.")
        else:
            self.tunnel.open()
def tunnel_open ( self ) : if ( self . server . is_server_running ( ) == 'no' or self . server . is_server_running ( ) == 'maybe' ) : print ( "Error: Sorry, you need to have the server running to open a " "tunnel.  Try 'server on' first." ) else : self . tunnel . open ( )
Open tunnel