ics wb
This commit is contained in:
3
qt.py
3
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user