Update download directory for os x gui

This commit is contained in:
jackrobison 2015-12-16 23:42:38 -05:00
parent ab3cc3d2b6
commit 52e2ed2aa7

View file

@ -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())
d.addBoth(lambda _: remove_from_list())