diff --git a/script/ingest_austalk.rb b/script/ingest_austalk.rb index 4aec767..b002a80 100644 --- a/script/ingest_austalk.rb +++ b/script/ingest_austalk.rb @@ -70,7 +70,7 @@ def main(options, collection, directory) # to ingest the named collection from the given directory full of .json files # if collection is ommitted, defaults to 'austalk' if ARGV.length == 1 - main(options, 'austalk', ARGV[1]) + main(options, 'austalk', ARGV[0]) elsif ARGV.length == 2 main(options, ARGV[0], ARGV[1]) else