summaryrefslogtreecommitdiffstats
path: root/python/fatcat_import.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-22 13:54:29 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-22 13:54:29 -0800
commit72f446f20bb9c3ec498323a692a5b813c3cdd1a9 (patch)
treeb0ca869c5175b0027b9637243938609bd0a982f5 /python/fatcat_import.py
parentc07ab480fa63d0e2379d4380ad3d96aa8cb961a3 (diff)
downloadfatcat-72f446f20bb9c3ec498323a692a5b813c3cdd1a9.tar.gz
fatcat-72f446f20bb9c3ec498323a692a5b813c3cdd1a9.zip
pubmed+datacite tokens; no journal,grobid,matched tokens
Diffstat (limited to 'python/fatcat_import.py')
-rwxr-xr-xpython/fatcat_import.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_import.py b/python/fatcat_import.py
index ed12416c..294a1949 100755
--- a/python/fatcat_import.py
+++ b/python/fatcat_import.py
@@ -113,7 +113,7 @@ def main():
sub_matched = subparsers.add_parser('matched')
sub_matched.set_defaults(
func=run_matched,
- auth_var="FATCAT_AUTH_WORKER_MATCHED",
+ auth_var="FATCAT_API_AUTH_TOKEN",
)
sub_matched.add_argument('json_file',
help="JSON file to import from (or stdin)",
@@ -128,7 +128,7 @@ def main():
sub_grobid_metadata = subparsers.add_parser('grobid-metadata')
sub_grobid_metadata.set_defaults(
func=run_grobid_metadata,
- auth_var="FATCAT_AUTH_WORKER_GROBID_METADATA",
+ auth_var="FATCAT_API_AUTH_TOKEN",
)
sub_grobid_metadata.add_argument('tsv_file',
help="TSV file to import from (or stdin)",