diff --git a/src/common/kwalletbinding.py b/src/common/kwalletbinding.py index a2562352c..0de030bd8 100644 --- a/src/common/kwalletbinding.py +++ b/src/common/kwalletbinding.py @@ -26,7 +26,10 @@ import subprocess def kwallet_available(): """Return True if kwalletcli can be run, False otherwise.""" - p = subprocess.Popen(["kwalletcli", "-qV"]) + try: + p = subprocess.Popen(["kwalletcli", "-qV"]) + except Exception: + return False p.communicate() if p.returncode == 0: return True