summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichaelplews <michael.plews@gmail.com>2018-06-05 11:58:22 -0500
committermichaelplews <michael.plews@gmail.com>2018-06-05 11:58:22 -0500
commit10cb400388a3614147437c49291d395e6f115ac8 (patch)
tree7e64c6d9b273a1e8d4d442da0b47c0a23d29b4cb
parent2db0f21573bced9a44b94507e7de9f91d3ab79d6 (diff)
papis-zotero now honours library options
papis-zotero will now add a bib file to a specified library using the `--pick-lib` or `-l my_lib` flags. Closes #75
-rwxr-xr-xexamples/scripts/papis-zotero1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/scripts/papis-zotero b/examples/scripts/papis-zotero
index b5aef651..3a786450 100755
--- a/examples/scripts/papis-zotero
+++ b/examples/scripts/papis-zotero
@@ -42,6 +42,7 @@ def add(entry, pdf_file=None):
fd.close()
papis.commands.main(
[
+ '-l', papis.api.get_lib(),
'add', pdf_file or '--no-document', '--from-yaml', temp
] + add_flags
)