web/views/vcard.py
changeset 3460 e4843535db25
parent 3451 6b46d73823f5
child 4252 6c4f109c2b03
equal deleted inserted replaced
3459:e134d2dd9992 3460:e4843535db25
    26         """overriden to set a .vcf filename"""
    26         """overriden to set a .vcf filename"""
    27         self._cw.set_content_type(self.content_type, filename='vcard.vcf')
    27         self._cw.set_content_type(self.content_type, filename='vcard.vcf')
    28 
    28 
    29     def cell_call(self, row, col):
    29     def cell_call(self, row, col):
    30         self.vcard_header()
    30         self.vcard_header()
    31         self.vcard_content(self.complete_entity(row, col))
    31         self.vcard_content(self.cw_rset.complete_entity(row, col))
    32         self.vcard_footer()
    32         self.vcard_footer()
    33 
    33 
    34     def vcard_header(self):
    34     def vcard_header(self):
    35         self.w(u'BEGIN:vcard\n')
    35         self.w(u'BEGIN:vcard\n')
    36         self.w(u'VERSION:3.0\n')
    36         self.w(u'VERSION:3.0\n')