Update download directory for os x gui
This commit is contained in:
parent
ab3cc3d2b6
commit
52e2ed2aa7
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue