Fix exportvcalendar error is "is not" with a literal (Python 3.8 issue) (#1135)
Fixes #12000
This commit is contained in:
parent
b6fa5da8ee
commit
f6bfb46fc0
@ -202,7 +202,7 @@ class CalendarWriter:
|
|||||||
date = event.get_date_object()
|
date = event.get_date_object()
|
||||||
place_handle = event.get_place_handle()
|
place_handle = event.get_place_handle()
|
||||||
date_string = self.format_date(date, 1)
|
date_string = self.format_date(date, 1)
|
||||||
if date_string is not "":
|
if date_string != "":
|
||||||
# self.writeln("")
|
# self.writeln("")
|
||||||
self.writeln("BEGIN:VEVENT")
|
self.writeln("BEGIN:VEVENT")
|
||||||
time_s = time.gmtime(event.change)
|
time_s = time.gmtime(event.change)
|
||||||
|
Loading…
Reference in New Issue
Block a user