Add debug logging for extractor
This commit is contained in:
parent
df235caf8f
commit
1bb1b80620
2 changed files with 9 additions and 2 deletions
|
|
@ -88,11 +88,11 @@ def _add_annots_to_note(
|
|||
f.write("\n".join(new_annotations))
|
||||
f.write("\n")
|
||||
logger.info(
|
||||
f"Wrote {len(new_annotations)} annotations "\
|
||||
f"Wrote {len(new_annotations)} "
|
||||
f"{'annotation' if len(new_annotations) == 1 else 'annotations'}"
|
||||
f"to {papis.document.describe(document)}"
|
||||
)
|
||||
|
||||
|
||||
if git:
|
||||
msg = "Update notes for '{0}'".format(papis.document.describe(document))
|
||||
folder = document.get_main_folder()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue