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