summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Havekes <p.havekes@avans.nl>2018-10-19 11:54:15 +0200
committerPeter Havekes <p.havekes@avans.nl>2018-10-19 11:55:54 +0200
commit4e2d51a4ea8bbc9a4308771cedf33f39cd66c3e9 (patch)
tree3b4728cd46a67f1ce62876c521845c49ccd4452d
parent3ab3e115c2a8592edb2065464d4c603103fc814b (diff)
downloadcalendar-cli-4e2d51a4ea8bbc9a4308771cedf33f39cd66c3e9.zip
Disable except that needs more checking
-rwxr-xr-xcalendar-cli.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar-cli.py b/calendar-cli.py
index 08a48c4..8c01e14 100755
--- a/calendar-cli.py
+++ b/calendar-cli.py
@@ -149,12 +149,15 @@ def _calendar_addics(caldav_conn, ics, uid, args):
except caldav.lib.error.AuthorizationError as e:
print("Error logging in");
sys.exit(2)
+ """
+ Peter Havekes: This needs more checking. It works for me when connecting to O365
+
except caldav.lib.error.PutError as e:
if "200 OK" in str(e):
print("Duplicate")
else:
raise
-
+ """
def calendar_addics(caldav_conn, args):
"""