summaryrefslogtreecommitdiffstats
path: root/contrib/caldav
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/caldav')
-rwxr-xr-xcontrib/caldav/calcurse-caldav.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/caldav/calcurse-caldav.py b/contrib/caldav/calcurse-caldav.py
index 84e2638..f98ee9d 100755
--- a/contrib/caldav/calcurse-caldav.py
+++ b/contrib/caldav/calcurse-caldav.py
@@ -183,7 +183,9 @@ def remote_wipe(conn):
if dry_run:
return
- remote_query(conn, "DELETE", path, {}, None)
+ remote_items = get_etags(conn)
+ for href in remote_items:
+ remove_remote_object(conn, remote_items[href], href)
def get_syncdb(fn):