style: apply ruff formatting fixes

This commit is contained in:
Andy
2025-10-23 18:11:30 +00:00
parent bdd219d90c
commit 3571c5eb3c
8 changed files with 19 additions and 12 deletions

View File

@@ -37,7 +37,9 @@ class SQLite(Vault):
if not self.has_table(service_name):
continue
cursor.execute(f"SELECT `id`, `key_` FROM `{service_name}` WHERE `kid`=? AND `key_`!=?", (kid, "0" * 32))
cursor.execute(
f"SELECT `id`, `key_` FROM `{service_name}` WHERE `kid`=? AND `key_`!=?", (kid, "0" * 32)
)
cek = cursor.fetchone()
if cek:
return cek[1]