9153 : vCard Export does not work
This commit is contained in:
parent
07d3bb80ac
commit
f031abd7c9
@ -144,7 +144,7 @@ class VCardWriter(object):
|
|||||||
Can't cope with nested VCards, section 2.4.2 of RFC 2426.
|
Can't cope with nested VCards, section 2.4.2 of RFC 2426.
|
||||||
"""
|
"""
|
||||||
self.filehandle.write('%s\r\n' % '\r\n'.join(
|
self.filehandle.write('%s\r\n' % '\r\n'.join(
|
||||||
[line.encode('utf-8') for line in self.txtwrp.wrap(text)]))
|
[line for line in self.txtwrp.wrap(text)]))
|
||||||
|
|
||||||
def export_data(self):
|
def export_data(self):
|
||||||
"""Open the file and loop over everyone too write their VCards."""
|
"""Open the file and loop over everyone too write their VCards."""
|
||||||
|
Loading…
Reference in New Issue
Block a user