web/views/vcard.py
changeset 3451 6b46d73823f5
parent 3408 c92170fca813
child 3460 e4843535db25
--- a/web/views/vcard.py	Wed Sep 23 19:26:38 2009 +0200
+++ b/web/views/vcard.py	Wed Sep 23 19:40:19 2009 +0200
@@ -24,7 +24,7 @@
 
     def set_request_content_type(self):
         """overriden to set a .vcf filename"""
-        self.req.set_content_type(self.content_type, filename='vcard.vcf')
+        self._cw.set_content_type(self.content_type, filename='vcard.vcf')
 
     def cell_call(self, row, col):
         self.vcard_header()