def _send_command(self, command):
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    s.connect((self.ip_address, self.port))
    s.send(bytes((('auth ' + self.auth) + '\n'), encoding='ascii'))
    s.send(command)
    s.close()
def _send_command(self, command):
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    s.connect((self.ip_address, self.port))
    s.send(bytes((('auth ' + self.auth) + '\n'), encoding='ascii'))
    s.send(command)
    s.close()