Line 0
Link Here
|
|
|
1 |
--- pycarddav/model.py.orig 2019-07-11 04:52:57 UTC |
2 |
+++ pycarddav/model.py |
3 |
@@ -197,7 +197,7 @@ class VCard(defaultdict): |
4 |
|
5 |
@property |
6 |
def name(self): |
7 |
- return unicode(self['N'][0][0]) if self['N'] else '' |
8 |
+ return unicode(self['N'][0][0].decode('utf8')) if self['N'] else '' |
9 |
|
10 |
@name.setter |
11 |
def name(self, value): |
12 |
@@ -207,7 +207,7 @@ class VCard(defaultdict): |
13 |
|
14 |
@property |
15 |
def fname(self): |
16 |
- return unicode(self['FN'][0][0]) if self['FN'] else '' |
17 |
+ return unicode(self['FN'][0][0].decode('utf8')) if self['FN'] else '' |
18 |
|
19 |
@fname.setter |
20 |
def fname(self, value): |