Add message on successful note writing

This commit is contained in:
Marty Oehme 2022-12-22 21:10:56 +01:00
parent f0caf35925
commit 9496a626c0
Signed by: Marty
GPG key ID: 73BA40D5AFAF49C9

View file

@ -169,6 +169,7 @@ class ExtractPlugin(PapersPlugin):
self._append_to_note(notepath, annotations) self._append_to_note(notepath, annotations)
else: else:
self._write_new_note(notepath, annotations) self._write_new_note(notepath, annotations)
self.ui.info(f"Wrote annotations to {paper.citekey} note {notepath}.")
if edit is True: if edit is True:
self.ui.edit_file(notepath, temporary=False) self.ui.edit_file(notepath, temporary=False)