From 6bb7ed9c9ff1e5dca6a71f49ac6da5f17146c801 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Sat, 24 Dec 2022 18:21:30 +0100 Subject: [PATCH] Switch bare print to use ui message function --- extract/extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract/extract.py b/extract/extract.py index 8c95c63..d8a3c6f 100644 --- a/extract/extract.py +++ b/extract/extract.py @@ -306,7 +306,7 @@ class ExtractPlugin(PapersPlugin): # for annot in annotations: output += f"{annotation.formatted(self.formatting)}\n" output += "\n" - print(output) + self.ui.message(output) def _to_notes(self, annotated_papers, note_extension="txt", edit=False): """Write annotations into pubs notes.