papis: Small variable fix to papis-reload script
This commit is contained in:
parent
a7b4e16f66
commit
38c85d6de0
2 changed files with 5 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ import papis.api
|
|||
from argparse import ArgumentParser
|
||||
|
||||
parser = ArgumentParser()
|
||||
parser.add_argument(
|
||||
_ = parser.add_argument(
|
||||
"--all", "-a", help="reload all libraries not just current", action="store_true"
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
|
@ -25,4 +25,4 @@ else:
|
|||
|
||||
for lib in libs:
|
||||
papis.api.clear_lib_cache(lib)
|
||||
papis.api.get_all_documents_in_lib()
|
||||
_ = papis.api.get_all_documents_in_lib()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue