File: Revert-Add-fingerprint-verify-stop-check.patch

package info (click to toggle)
secrets 11.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,744 kB
  • sloc: python: 6,509; xml: 7; makefile: 4
file content (27 lines) | stat: -rw-r--r-- 925 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: =?utf-8?q?Jeremy_B=C3=ADcha?= <jeremy.bicha@canonical.com>
Date: Sun, 13 Apr 2025 12:03:51 -0400
Subject: Revert "Add fingerprint verify stop check"

This reverts commit b42e008e6193de1b3d55c6252c5a01fb4da1b1e9.

asyncio requires pygobject 3.52
---
 gsecrets/unlock_database.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gsecrets/unlock_database.py b/gsecrets/unlock_database.py
index 8dc4285..d6f30ae 100644
--- a/gsecrets/unlock_database.py
+++ b/gsecrets/unlock_database.py
@@ -349,9 +349,8 @@ class UnlockDatabase(Adw.Bin):
             return
 
         async def disconnect():
-            if self.fprint:
-                await self.fprint.verify_stop()
-                self.fprint.disconnect()
+            await self.fprint.verify_stop()
+            self.fprint.disconnect()
             self.fingerprint_img.props.visible = False
 
         app = Gio.Application.get_default()