From 1ab5b9926c372af8f5644908d523e3b47fa3f9c1 Mon Sep 17 00:00:00 2001 From: Tobias Brox Date: Sun, 8 May 2022 18:41:54 +0200 Subject: fixup! Trying to maintain compatibility with elder python versions. Changing a new-style f'string' with 'string' % (var1, var2) --- caldav/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caldav/objects.py b/caldav/objects.py index 390c5f8..42bda30 100644 --- a/caldav/objects.py +++ b/caldav/objects.py @@ -980,7 +980,7 @@ class Calendar(DAVObject): except Exception as err: if comp_filter is not None: raise - logging.warning(f"Error {str(err)} from server when doing an object_by_uid({uid}). search without compfilter set is not compatible with all server implementations, trying object_by_event + object_by_todo + object_by_journal instead") + logging.warning("Error %s from server when doing an object_by_uid(%s). search without compfilter set is not compatible with all server implementations, trying object_by_event + object_by_todo + object_by_journal instead" % (str(err), uid)) items_found = [] for compfilter in ("VTODO", "VEVENT", "VJOURNAL"): try: -- cgit v1.2.3