Merge pull request #790 from lbryio/fix-new-directories
Fix new default directories
This commit is contained in:
commit
c96ce5b8ad
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue