diff --git a/vdirsyncer/metasync.py b/vdirsyncer/metasync.py index ae0f3a7..dbf1575 100644 --- a/vdirsyncer/metasync.py +++ b/vdirsyncer/metasync.py @@ -59,5 +59,5 @@ def _normalize_value(value): if value is None: return value else: - assert isinstance(value, text_type) + assert isinstance(value, (bytes, text_type)) return value.strip()