Switch bare print to use ui message function

This commit is contained in:
Marty Oehme 2022-12-24 18:21:30 +01:00
parent a62968beac
commit 6bb7ed9c9f
Signed by: Marty
GPG key ID: 73BA40D5AFAF49C9

View file

@ -306,7 +306,7 @@ class ExtractPlugin(PapersPlugin):
# for annot in annotations: # for annot in annotations:
output += f"{annotation.formatted(self.formatting)}\n" output += f"{annotation.formatted(self.formatting)}\n"
output += "\n" output += "\n"
print(output) self.ui.message(output)
def _to_notes(self, annotated_papers, note_extension="txt", edit=False): def _to_notes(self, annotated_papers, note_extension="txt", edit=False):
"""Write annotations into pubs notes. """Write annotations into pubs notes.