mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +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 '
|
||||
'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(
|
||||
'Skipping item with href {!r} '
|
||||
'because content type {!r} != {!r}.'
|
||||
.format(href, contenttype, self.item_mimetype))
|
||||
else:
|
||||
yield href, etag
|
||||
|
||||
|
||||
class CaldavStorage(DavStorage):
|
||||
|
|
|
|||
Loading…
Reference in a new issue