Skip to content

Commit 824707c

Browse files
authored
Fix issue with unassigned self.handle (#899)
1 parent 84c3d3c commit 824707c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vorta/keyring/kwallet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def try_unlock(self):
5252
try:
5353
self.handle = int(output)
5454
except ValueError: # For when kwallet is disabled or dbus otherwise broken
55-
return -2
55+
self.handle = -2
5656

5757

5858
class KWalletNotAvailableException(Exception):

0 commit comments

Comments
 (0)