mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Fix logging
This commit is contained in:
parent
ce30ed7b8a
commit
e8254f489e
1 changed files with 2 additions and 1 deletions
|
|
@ -465,7 +465,8 @@ class DavStorage(Storage):
|
|||
dav_logger.debug('Skipping {!r}, is collection.'.format(href))
|
||||
continue
|
||||
|
||||
if not self._is_item_mimetype(getattr(contenttype, 'text', None)):
|
||||
contenttype = getattr(contenttype, 'text', None)
|
||||
if not self._is_item_mimetype(contenttype):
|
||||
dav_logger.debug('Skipping {!r}, {!r} != {!r}.'
|
||||
.format(href, contenttype,
|
||||
self.item_mimetype))
|
||||
|
|
|
|||
Loading…
Reference in a new issue