forked from LBRYCommunity/lbry-sdk
stricter check for old windows directory structure
This commit is contained in:
parent
726bae97b0
commit
c12e07de11
1 changed files with 1 additions and 1 deletions
|
@ -711,7 +711,7 @@ def get_windows_directories() -> Tuple[str, str, str, str]:
|
|||
data_dir = user_data_dir('lbrynet', 'lbry')
|
||||
blob_dir = os.path.join(data_dir, 'blobfiles')
|
||||
wallet_dir = os.path.join(user_data_dir('lbryum', 'lbry'), 'wallets')
|
||||
if os.path.isdir(blob_dir) or os.path.isdir(wallet_dir):
|
||||
if os.path.isdir(blob_dir) and os.path.isdir(wallet_dir):
|
||||
return data_dir, wallet_dir, blob_dir, user_download_dir()
|
||||
# new
|
||||
return get_universal_directories()
|
||||
|
|
Loading…
Reference in a new issue