9153 : vCard Export does not work

This commit is contained in:
SNoiraud 2016-01-27 10:53:13 +01:00
parent 07d3bb80ac
commit f031abd7c9

View File

@ -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."""