mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
parent
5506d6633d
commit
21fb9f43ae
1 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ from .base import Item, Storage
|
||||||
from .http import HTTP_STORAGE_PARAMETERS, USERAGENT, prepare_auth, \
|
from .http import HTTP_STORAGE_PARAMETERS, USERAGENT, prepare_auth, \
|
||||||
prepare_client_cert, prepare_verify
|
prepare_client_cert, prepare_verify
|
||||||
from .. import exceptions, log, utils
|
from .. import exceptions, log, utils
|
||||||
from ..utils.compat import text_type, to_native
|
from ..utils.compat import text_type, to_native, to_unicode
|
||||||
|
|
||||||
|
|
||||||
dav_logger = log.get(__name__)
|
dav_logger = log.get(__name__)
|
||||||
|
|
@ -599,7 +599,7 @@ class DavStorage(Storage):
|
||||||
for prop in root.findall('.//' + lxml_selector):
|
for prop in root.findall('.//' + lxml_selector):
|
||||||
text = getattr(prop, 'text', None)
|
text = getattr(prop, 'text', None)
|
||||||
if text:
|
if text:
|
||||||
return text
|
return to_unicode(text)
|
||||||
|
|
||||||
def set_meta(self, key, value):
|
def set_meta(self, key, value):
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue