1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-21 23:33:13 +00:00

Fix issue with unassigned self.handle (#899)

This commit is contained in:
Manu 2021-02-27 14:59:22 +08:00 committed by GitHub
parent 84c3d3c822
commit 824707c798
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ def try_unlock(self):
try:
self.handle = int(output)
except ValueError: # For when kwallet is disabled or dbus otherwise broken
return -2
self.handle = -2
class KWalletNotAvailableException(Exception):