Only output status for each file, not each sounding
This commit is contained in:
parent
1b9ea8c1f9
commit
9927a2eebc
1 changed files with 3 additions and 3 deletions
|
@ -21,10 +21,10 @@ db = Database.connect(args.db)
|
||||||
db.execute('begin transaction')
|
db.execute('begin transaction')
|
||||||
|
|
||||||
for path in getattr(args, 'igra-sounding-file'):
|
for path in getattr(args, 'igra-sounding-file'):
|
||||||
for sounding in IGRAReader.each_sounding_from_file(path):
|
if not args.quiet:
|
||||||
if not args.quiet:
|
print(f"Ingesting sounding file {path}")
|
||||||
print(f"Ingesting sounding file {path}")
|
|
||||||
|
|
||||||
|
for sounding in IGRAReader.each_sounding_from_file(path):
|
||||||
if args.dry_run:
|
if args.dry_run:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue