This commit is contained in:
2026-01-21 15:49:47 -08:00
parent da2bff8cd4
commit 06af9b30ac
2 changed files with 24 additions and 2 deletions

View File

@@ -1653,12 +1653,12 @@ class Folder(Store):
if t:
cursor.execute(
"INSERT OR IGNORE INTO tag (hash, tag) VALUES (?, ?)",
(hash,
(file_identifier,
t),
)
db.connection.commit()
try:
db._update_metadata_modified_time(hash)
db._update_metadata_modified_time(file_identifier)
except Exception:
pass
return True