This commit is contained in:
2026-05-19 13:27:16 -04:00
parent ff90c72866
commit 4203d078c1

3
qt.py
View File

@@ -4031,9 +4031,8 @@ def export_meta_gui(electrum_window, title, exporter):
class BalCalendar:
@staticmethod
def write_temp_ics(content):
_logger.error(content)
fd, path = tempfile.mkstemp(prefix="event_", suffix=".ics")
with os.fdopen(fd, "w", encoding="utf-8") as f:
with os.fdopen(fd, "wb", encoding="utf-8") as f:
f.write(content)
return path