Support csv-delimiter for csv-header
This commit is contained in:
parent
f5c34eb03c
commit
b13450e22a
@ -1631,12 +1631,12 @@ def shell():
|
|||||||
raise SpeedtestCLIError('Cannot supply both --no-download and '
|
raise SpeedtestCLIError('Cannot supply both --no-download and '
|
||||||
'--no-upload')
|
'--no-upload')
|
||||||
|
|
||||||
if args.csv_header:
|
|
||||||
csv_header()
|
|
||||||
|
|
||||||
if len(args.csv_delimiter) != 1:
|
if len(args.csv_delimiter) != 1:
|
||||||
raise SpeedtestCLIError('--csv-delimiter must be a single character')
|
raise SpeedtestCLIError('--csv-delimiter must be a single character')
|
||||||
|
|
||||||
|
if args.csv_header:
|
||||||
|
csv_header(args.csv_delimiter)
|
||||||
|
|
||||||
validate_optional_args(args)
|
validate_optional_args(args)
|
||||||
|
|
||||||
debug = getattr(args, 'debug', False)
|
debug = getattr(args, 'debug', False)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user