forked from bitcoinafterlife/bal-electrum-plugin
Windows
This commit is contained in:
2
qt.py
2
qt.py
@@ -3998,10 +3998,12 @@ class BalCalendar:
|
||||
|
||||
@staticmethod
|
||||
def open_with_default_app(calendar_app, path):
|
||||
_logger.debug("opening calendar app")
|
||||
try:
|
||||
subprocess.check_call([calendar_app, path])
|
||||
return True
|
||||
except Exception as _e:
|
||||
_logger.error(f"starting calendar app linux failed:{e}")
|
||||
try:
|
||||
import os
|
||||
os.startfile(path)
|
||||
|
||||
Reference in New Issue
Block a user