electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit be438bdd60529dc1ad131c9f45325f082082e33f
parent 1e4fa83098104b34eb104a695ccddb884e519cde
Author: ThomasV <thomasv@electrum.org>
Date:   Thu, 14 Jan 2021 14:59:14 +0100

check_password_for_directory: skip non-files

Diffstat:
Melectrum/wallet.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/electrum/wallet.py b/electrum/wallet.py @@ -2968,6 +2968,8 @@ def check_password_for_directory(config, old_password, new_password=None): failed = [] for filename in os.listdir(dirname): path = os.path.join(dirname, filename) + if not os.path.isfile(path): + continue basename = os.path.basename(path) storage = WalletStorage(path) if not storage.is_encrypted():