summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2022-05-08 22:23:28 +0200
committercos <cos>2022-05-08 22:23:28 +0200
commit20ee958ab9dbf220f478f7ebb54d8a11ad20393a (patch)
treecdf34619f21934fa13a58bd2723701f19839d809
parentddcd11508290b0dbc580dde0f2aa712d95d1e6f7 (diff)
downloadpython-caldav-fix/detect_expansion_failure.zip
Fix variable name typo of last commitfix/detect_expansion_failure
-rw-r--r--caldav/objects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/caldav/objects.py b/caldav/objects.py
index a7448aa..f4e62fe 100644
--- a/caldav/objects.py
+++ b/caldav/objects.py
@@ -754,7 +754,7 @@ class Calendar(DAVObject):
if i.name == 'VEVENT':
recurrance_properties = ['exdate', 'exrule', 'rdate', 'rrule']
if any(key in recurrance_properties for key in i.contents):
- if verify_expansion:
+ if verify_expand:
raise error.ReportError('CalDAV server did not expand recurring vevents as requested. See https://github.com/python-caldav/caldav/issues/157')
else:
logging.error('CalDAV server does not support recurring events properly. See https://github.com/python-caldav/caldav/issues/157')