diff options
Diffstat (limited to 'contrib/caldav')
-rwxr-xr-x | contrib/caldav/calcurse-caldav.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/caldav/calcurse-caldav.py b/contrib/caldav/calcurse-caldav.py index 1db4740..84e2638 100755 --- a/contrib/caldav/calcurse-caldav.py +++ b/contrib/caldav/calcurse-caldav.py @@ -10,6 +10,7 @@ import ssl import subprocess import sys import textwrap +import urllib.parse import xml.etree.ElementTree as etree @@ -242,7 +243,7 @@ def push_object(conn, objhash): etag = next(iter(etagdict.values())) etag = etag.strip('"') - return (href, etag) + return (urllib.parse.quote(href), etag) def push_objects(objhashes, conn, syncdb, etagdict): |