diff --git a/tests/cli/test_repair.py b/tests/cli/test_repair.py index f91a769..0b7e320 100644 --- a/tests/cli/test_repair.py +++ b/tests/cli/test_repair.py @@ -1,3 +1,5 @@ +# encoding: utf-8 + from textwrap import dedent from vdirsyncer.cli.utils import repair_storage diff --git a/vdirsyncer/cli/utils.py b/vdirsyncer/cli/utils.py index df70a04..c06a9e2 100644 --- a/vdirsyncer/cli/utils.py +++ b/vdirsyncer/cli/utils.py @@ -666,7 +666,7 @@ def repair_storage(storage): all_hrefs = list(storage.list()) for i, (href, _) in enumerate(all_hrefs): item, etag = storage.get(href) - cli_logger.info('[{}/{}] Processing {}' + cli_logger.info(u'[{}/{}] Processing {}' .format(i, len(all_hrefs), href)) parsed = item.parsed