From 3d6c11294395d7f13ab9491536efaf1046986d28 Mon Sep 17 00:00:00 2001 From: xfangfang <2553041586@qq.com> Date: Sat, 11 Sep 2021 13:31:04 +0800 Subject: [PATCH] Release v0.6.1 --- macast/.version | 2 +- macast/gui.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/macast/.version b/macast/.version index 5a2a5806d..6e8cb1efc 100644 --- a/macast/.version +++ b/macast/.version @@ -1 +1 @@ -0.6 +0.61 diff --git a/macast/gui.py b/macast/gui.py index 6b5e64d3c..a4c074256 100644 --- a/macast/gui.py +++ b/macast/gui.py @@ -281,7 +281,7 @@ def dialog(self, content, callback=None, cancel="Cancel", ok="Ok"): def get_env(self): # https://github.com/pyinstaller/pyinstaller/issues/3668#issuecomment-742547785 env = Setting.get_system_env() - toDelete = [] + toDelete = [] for (k, v) in env.items(): if k != 'PATH' and 'tmp' in v: toDelete.append(k) @@ -295,7 +295,7 @@ def open_browser(self, url): elif self.platform == Platform.Win32: webbrowser.open(url) else: - subprocess.Popen(["xdg-open",url], env=self.get_env()) + subprocess.Popen(["xdg-open", url], env=self.get_env()) def open_directory(self, path): if self.platform == Platform.Darwin: