From 5e2e96b1ff145d20a30436513ab11c562d1f0396 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Wed, 19 Jul 2017 18:52:48 -0400 Subject: [PATCH] fix directories --- CHANGELOG.md | 1 + lbrynet/conf.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b124196b2..5bbca8eb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ at anytime. * Fixed https://github.com/lbryio/lbry/issues/774 * Fix XDG compliance on Linux * Fixed https://github.com/lbryio/lbry/issues/760 + * Fixed default directories bug ### Deprecated * diff --git a/lbrynet/conf.py b/lbrynet/conf.py index c63d15012..22c9662b7 100644 --- a/lbrynet/conf.py +++ b/lbrynet/conf.py @@ -78,9 +78,9 @@ def _get_old_directories(platform): dirs['lbryum'] = os.path.expanduser('~/.lbryum') dirs['download'] = os.path.expanduser('~/Downloads') elif platform == LINUX: - dirs['data'] = os.path.join(os.path.expanduser('~'), '~/.lbrynet') - dirs['lbryum'] = os.path.join(os.path.expanduser('~'), '~/.lbryum') - dirs['download'] = os.path.join(os.path.expanduser('~'), 'Downloads') + dirs['data'] = os.path.expanduser('~/.lbrynet') + dirs['lbryum'] = os.path.expanduser('~/.lbryum') + dirs['download'] = os.path.expanduser('~/Downloads') else: raise ValueError('unknown platform value') return dirs