From 20ee958ab9dbf220f478f7ebb54d8a11ad20393a Mon Sep 17 00:00:00 2001 From: cos Date: Sun, 8 May 2022 22:23:28 +0200 Subject: Fix variable name typo of last commit --- caldav/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.3