mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Actually fix #138
This commit is contained in:
parent
069f5dfa89
commit
bd235df3c8
1 changed files with 3 additions and 3 deletions
|
|
@ -426,13 +426,13 @@ class DavStorage(Storage):
|
||||||
'Vdirsyncer is unable to function without '
|
'Vdirsyncer is unable to function without '
|
||||||
'one.'.format(href))
|
'one.'.format(href))
|
||||||
|
|
||||||
if not contenttype or self.item_mimetype not in contenttype:
|
if not contenttype or self.item_mimetype in contenttype:
|
||||||
|
yield href, etag
|
||||||
|
else:
|
||||||
dav_logger.debug(
|
dav_logger.debug(
|
||||||
'Skipping item with href {!r} '
|
'Skipping item with href {!r} '
|
||||||
'because content type {!r} != {!r}.'
|
'because content type {!r} != {!r}.'
|
||||||
.format(href, contenttype, self.item_mimetype))
|
.format(href, contenttype, self.item_mimetype))
|
||||||
else:
|
|
||||||
yield href, etag
|
|
||||||
|
|
||||||
|
|
||||||
class CaldavStorage(DavStorage):
|
class CaldavStorage(DavStorage):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue