Skip to content

Commit 21ce020

Browse files
committed
Release v0.64 Fix update error
1 parent b05a26d commit 21ce020

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

macast/.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.63
1+
0.64

macast/gui.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,8 @@ def dialog(self, content, callback=None, cancel="Cancel", ok="Ok"):
273273
callback()
274274
except Exception as e:
275275
self.notification("Error", "Cannot access System Events")
276+
logger.error(e)
277+
callback()
276278
else:
277279
self.notification("Macast", content)
278280
if callback:

macast/macast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def check_update(self, verbose=True):
476476

477477
if float(Setting.get_version()) < float(online_version):
478478
self.dialog(_("Macast New Update {}").format(res['tag_name']),
479-
lambda _: self.open_browser(release_url),
479+
lambda: self.open_browser(release_url),
480480
ok="Update")
481481
else:
482482
if verbose:

0 commit comments

Comments
 (0)