This commit is contained in:
2026-01-16 20:08:22 -08:00
parent 385307c5b9
commit a4d44e6190
3 changed files with 72 additions and 9 deletions

View File

@@ -2093,7 +2093,10 @@ class Folder(Store):
if callable(setter):
setter(file_path, note_name, str(text))
return True
db.save_note(file_path, str(text))
try:
db.save_note(file_path, str(text), name=note_name)
except TypeError:
db.save_note(file_path, str(text))
return True
except Exception as exc:
debug(f"set_note failed for local file: {exc}")