From 4203d078c114562dae363fd1fbad878fa2be2fb1 Mon Sep 17 00:00:00 2001 From: svatantrya Date: Tue, 19 May 2026 13:27:16 -0400 Subject: [PATCH] ics wb --- qt.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qt.py b/qt.py index 48fe025..e9ba575 100644 --- a/qt.py +++ b/qt.py @@ -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