def delete(self, block_type, block_num):
        """
        Deletes a block
        
        :param block_type: Type of block
        :param block_num: Bloc number
        """
        logger.info("deleting block")
        blocktype = snap7.snap7types.block_types[block_type]
        result = self.library.Cli_Delete(self.pointer, blocktype, block_num)
        return result
def delete ( self , block_type , block_num ) : logger . info ( "deleting block" ) blocktype = snap7 . snap7types . block_types [ block_type ] result = self . library . Cli_Delete ( self . pointer , blocktype , block_num ) return result
Deletes a block
        
        :param block_type: Type of block
        :param block_num: Bloc number