Skip to content

Commit b22379c

Browse files
committed
Simplify return
1 parent 3bd1e22 commit b22379c

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
@@ -42,7 +42,7 @@ def get_result(self, method, args=[]):
4242

4343
@property
4444
def is_unlocked(self):
45-
return self.try_unlock() and self.handle >= 0
45+
return self.try_unlock()
4646

4747
def try_unlock(self):
4848
''' Returns whether "open" call succeeded '''

0 commit comments

Comments
 (0)