diff options
Diffstat (limited to 'python/ingest_tool.py')
-rwxr-xr-x | python/ingest_tool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/ingest_tool.py b/python/ingest_tool.py index 305c3a8..eb1047d 100755 --- a/python/ingest_tool.py +++ b/python/ingest_tool.py @@ -42,8 +42,8 @@ def run_requests(args): html_quick_mode=args.html_quick_mode, ) fileset_worker = IngestFilesetWorker(try_spn2=not args.no_spn2, ) - for l in args.json_file: - request = json.loads(l.strip()) + for line in args.json_file: + request = json.loads(line.strip()) if request['ingest_type'] in [ 'dataset', ]: |