summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rwxr-xr-xpython/fatcat_import.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_import.py b/python/fatcat_import.py
index b0fde01b..bb715fb6 100755
--- a/python/fatcat_import.py
+++ b/python/fatcat_import.py
@@ -47,6 +47,8 @@ def run_arxiv(args):
"fatcat-{}-import-arxiv".format(args.kafka_env),
).run()
else:
+ if args.xml_file == sys.stdin:
+ print('note: reading from stdin', file=sys.stderr)
Bs4XmlFilePusher(ari, args.xml_file, "record").run()
def run_pubmed(args):