From c12e07de118257bf5f23de0585135faa8525842c Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Thu, 4 Jun 2020 17:49:59 -0400 Subject: [PATCH] stricter check for old windows directory structure --- lbry/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/conf.py b/lbry/conf.py index 1c5efc4d3..afe28a6da 100644 --- a/lbry/conf.py +++ b/lbry/conf.py @@ -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()