Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
ffde6ea2 by wurstsalat at 2024-09-09T22:45:07+02:00
fix: Catch KeyringLocked error when trying to delete a password
Fixes #11978
- - - - -
1 changed file:
- gajim/common/passwords.py
Changes:
=====================================
gajim/common/passwords.py
=====================================
@@ -123,8 +123,9 @@ def delete_password(account_name: str) -> None:
account_jid = app.get_jid_from_account(account_name)
keyring_errors = (
+ keyring.errors.InitError,
+ keyring.errors.KeyringLocked,
keyring.errors.PasswordDeleteError,
- keyring.errors.InitError
)
try:
_interface.backend.delete_password('gajim', account_name)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/ffde6ea25675567dd6fb6b37eada2def2a40b6a8
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/ffde6ea25675567dd6fb6b37eada2def2a40b6a8
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]