forked from bitcoinafterlife/bal-electrum-plugin
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:
|
class BalCalendar:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def write_temp_ics(content):
|
def write_temp_ics(content):
|
||||||
_logger.error(content)
|
|
||||||
fd, path = tempfile.mkstemp(prefix="event_", suffix=".ics")
|
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)
|
f.write(content)
|
||||||
return path
|
return path
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user