mirror of
https://github.com/borgbase/vorta
synced 2025-01-03 05:36:19 +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:
|
try:
|
||||||
self.handle = int(output)
|
self.handle = int(output)
|
||||||
except ValueError: # For when kwallet is disabled or dbus otherwise broken
|
except ValueError: # For when kwallet is disabled or dbus otherwise broken
|
||||||
return -2
|
self.handle = -2
|
||||||
|
|
||||||
|
|
||||||
class KWalletNotAvailableException(Exception):
|
class KWalletNotAvailableException(Exception):
|
||||||
|
|
Loading…
Reference in a new issue