diff options
author | Tobias Brox <tobias@redpill-linpro.com> | 2022-05-08 18:41:54 +0200 |
---|---|---|
committer | Tobias Brox <tobias@redpill-linpro.com> | 2022-05-08 18:41:54 +0200 |
commit | 1ab5b9926c372af8f5644908d523e3b47fa3f9c1 (patch) | |
tree | 865c3fff7940cff3bf288a0707bd689ffeecb597 | |
parent | a82cb81d02fe207106951cdecd49fefc8146155a (diff) | |
download | python-caldav-1ab5b9926c372af8f5644908d523e3b47fa3f9c1.zip |
fixup! Trying to maintain compatibility with elder python versions. Changing a new-style f'string' with 'string' % (var1, var2)
-rw-r--r-- | caldav/objects.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |