From 52e2ed2aa7cdc1fdc8ecfcb7dbdbb00b87c146ef Mon Sep 17 00:00:00 2001 From: jackrobison Date: Wed, 16 Dec 2015 23:42:38 -0500 Subject: [PATCH] Update download directory for os x gui --- lbrynet/lbrynet_gui/LBRYGui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbrynet/lbrynet_gui/LBRYGui.py b/lbrynet/lbrynet_gui/LBRYGui.py index 610f58c4a..6421ce1d4 100644 --- a/lbrynet/lbrynet_gui/LBRYGui.py +++ b/lbrynet/lbrynet_gui/LBRYGui.py @@ -42,7 +42,7 @@ class LBRYDownloader(object): self.download_directory = get_path(FOLDERID.Downloads, UserHandle.current) self.wallet_dir = os.path.join(get_path(FOLDERID.RoamingAppData, UserHandle.current), "lbrycrd") else: - self.download_directory = os.getcwd() + self.download_directory = os.path.join(os.path.expanduser("~"), "Downloads") self.wallet_dir = os.path.join(os.path.expanduser("~"), ".lbrycrd") self.wallet_conf = os.path.join(self.wallet_dir, "lbrycrd.conf") self.wallet_user = None @@ -560,4 +560,4 @@ class LBRYDownloader(object): self.download_deferreds.remove(d) self.stream_frames.remove(stream_frame) - d.addBoth(lambda _: remove_from_list()) \ No newline at end of file + d.addBoth(lambda _: remove_from_list())