def db_get(self, db_number):
        """Uploads a DB from AG.
        """
        logging.debug(db_number % "db_get db_number: %s")
        _buffer = buffer_type()
        result = self.library.Cli_DBGet(
            self.pointer, db_number, byref(_buffer),
            byref(c_int(buffer_size)))
        check_error(result, context="client")
        return bytearray(_buffer)
dataset/ETHPy150Open gijzelaerr/python-snap7/snap7/client.py/Client.db_get/swapped operands of `%`