mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-08-04 14:49:36 +00:00
Fixed cases where --bytes and --units are both not supplied.
This commit is contained in:
parent
8fcd4a019e
commit
f317af3bf4
1 changed files with 1 additions and 1 deletions
|
|
@ -1865,7 +1865,7 @@ def shell():
|
|||
raise SpeedtestCLIError('Cannot supply both --no-download and '
|
||||
'--no-upload')
|
||||
|
||||
if not args.bytes and not args.units:
|
||||
if args.bytes and args.units:
|
||||
raise SpeedtestCLIError('Cannot supply both --bytes and '
|
||||
'--units')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue