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:
parent
8d2fc95d17
commit
304ff81836
@ -120,9 +120,9 @@ def remote_query(cmd, path, additional_headers, body):
|
||||
|
||||
def get_hrefmap(conn, uid=None):
|
||||
if uid:
|
||||
propfilter = '<C:prop-filter name="UID">' +\
|
||||
'<C:text-match collation="i;octet" >%s</C:text-match>' +\
|
||||
'</C:prop-filter>' % (uid)
|
||||
propfilter = ('<C:prop-filter name="UID">' +
|
||||
'<C:text-match collation="i;octet" >%s</C:text-match>' +
|
||||
'</C:prop-filter>') % (uid)
|
||||
else:
|
||||
propfilter = ''
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user