From f5933da348f0c20aafaa6ba9020fc151dd8a5c21 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Fri, 8 Jul 2022 11:10:15 +0200 Subject: [PATCH] skip wallet files with leading dot --- electrum/gui/qml/qedaemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qml/qedaemon.py b/electrum/gui/qml/qedaemon.py index 83c952710..c5d5cddc6 100644 --- a/electrum/gui/qml/qedaemon.py +++ b/electrum/gui/qml/qedaemon.py @@ -79,7 +79,7 @@ class QEAvailableWalletListModel(QEWalletListModel): wallet_folder = os.path.dirname(self.daemon.config.get_wallet_path()) with os.scandir(wallet_folder) as it: for i in it: - if i.is_file(): + if i.is_file() and not i.name.startswith('.'): available.append(i.path) for path in sorted(available): wallet = self.daemon.get_wallet(path)