From 304ff8183674f70b278c177e1aceaa7f6f08d9e2 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 26 Jan 2016 15:31:02 +0100 Subject: calcurse-caldav: Fix property filter Fix a TypeError that occurred during string formatting by putting parentheses around the multi-line string. Signed-off-by: Lukas Fleischer --- contrib/caldav/calcurse-caldav.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/caldav/calcurse-caldav.py b/contrib/caldav/calcurse-caldav.py index 3bea80b..9b6d77e 100755 --- a/contrib/caldav/calcurse-caldav.py +++ b/contrib/caldav/calcurse-caldav.py @@ -120,9 +120,9 @@ def remote_query(cmd, path, additional_headers, body): def get_hrefmap(conn, uid=None): if uid: - propfilter = '' +\ - '%s' +\ - '' % (uid) + propfilter = ('' + + '%s' + + '') % (uid) else: propfilter = '' -- cgit v1.2.3-54-g00ecf