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:
parent
84c3d3c822
commit
824707c798
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue