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 <lfleischer@calcurse.org>
This commit is contained in:
1 parent
8d2fc95d17
commit
304ff81836
1 file changed
+3
-3
@@ -120,9 +120,9 @@ def remote_query(cmd, path, additional_headers, body):
|
|||||||
|
|
||||||
def get_hrefmap(conn, uid=None):
|
def get_hrefmap(conn, uid=None):
|
||||||
if uid:
|
if uid:
|
||||||
propfilter = '<C:prop-filter name="UID">' +\
|
propfilter = ('<C:prop-filter name="UID">' +
|
||||||
'<C:text-match collation="i;octet" >%s</C:text-match>' +\
|
'<C:text-match collation="i;octet" >%s</C:text-match>' +
|
||||||
'</C:prop-filter>' % (uid)
|
'</C:prop-filter>') % (uid)
|
||||||
else:
|
else:
|
||||||
propfilter = ''
|
propfilter = ''
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user