From f6bfb46fc0b142c9a8a1a69e5bddd8c94acd6170 Mon Sep 17 00:00:00 2001 From: Paul Culley Date: Fri, 19 Feb 2021 11:31:06 -0600 Subject: [PATCH] Fix exportvcalendar error is "is not" with a literal (Python 3.8 issue) (#1135) Fixes #12000 --- gramps/plugins/export/exportvcalendar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/plugins/export/exportvcalendar.py b/gramps/plugins/export/exportvcalendar.py index 4c2d031f4..6dd577f2f 100644 --- a/gramps/plugins/export/exportvcalendar.py +++ b/gramps/plugins/export/exportvcalendar.py @@ -202,7 +202,7 @@ class CalendarWriter: date = event.get_date_object() place_handle = event.get_place_handle() date_string = self.format_date(date, 1) - if date_string is not "": + if date_string != "": # self.writeln("") self.writeln("BEGIN:VEVENT") time_s = time.gmtime(event.change)