ics wb
This commit is contained in:
4
qt.py
4
qt.py
@@ -4032,8 +4032,8 @@ class BalCalendar:
|
||||
@staticmethod
|
||||
def write_temp_ics(content):
|
||||
fd, path = tempfile.mkstemp(prefix="event_", suffix=".ics")
|
||||
with os.fdopen(fd, "wb", encoding="utf-8") as f:
|
||||
f.write(content)
|
||||
with os.fdopen(fd, "wb") as f:
|
||||
f.write(content.encode("utf-8"))
|
||||
return path
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user