dev: 增加相似度检查

This commit is contained in:
Julian Freeman
2024-07-19 16:34:27 -04:00
parent 24e2184659
commit 5feaa5f3b3
6 changed files with 149 additions and 12 deletions

View File

@@ -41,7 +41,9 @@ def read_kps_to_db(kps_file: str | PathLike[str], password: str,
extract_otp(entry.otp),
blob_fy(trim_str(entry.url)),
blob_fy(entry.notes),
blob_fy("::".join([kps_file] + entry.path[:-1])),
str(entry.uuid),
blob_fy(kps_file),
blob_fy("::".join(entry.path[:-1])),
])
sqh.insert_into(table_name, all_columns[1:], values)