From d14fcbc59a4dbd40bc9a9cc17faeac5ec87e1f2d Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sat, 6 Dec 2014 12:07:01 +0100 Subject: [PATCH] Fix bug with DAV href generation --- vdirsyncer/storage/dav.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vdirsyncer/storage/dav.py b/vdirsyncer/storage/dav.py index 13ee88a..08e8490 100644 --- a/vdirsyncer/storage/dav.py +++ b/vdirsyncer/storage/dav.py @@ -291,7 +291,7 @@ class DavStorage(Storage): def _get_href(self, item): href = item.ident for char in self.unsafe_href_chars: - href = item.ident.replace(char, '_') + href = href.replace(char, '_') return self._normalize_href(href + self.fileext) def get(self, href):