diff options
Diffstat (limited to 'clab')
-rwxr-xr-x | clab | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -120,7 +120,8 @@ class CommandLineAddressBook(cliapp.Application): name = entry.get_single('name', '') emails = entry.get_subdict('email') for email in emails: - self.output.write('%s\t%s\n' % (emails[email], name)) + n = name.encode('utf-8') + self.output.write('%s\t%s\n' % (emails[email], n)) CommandLineAddressBook().run() |