mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +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))
|
dav_logger.debug('Skipping {!r}, is collection.'.format(href))
|
||||||
continue
|
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}.'
|
dav_logger.debug('Skipping {!r}, {!r} != {!r}.'
|
||||||
.format(href, contenttype,
|
.format(href, contenttype,
|
||||||
self.item_mimetype))
|
self.item_mimetype))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue