mirror of
https://github.com/sivel/speedtest-cli.git
synced 2025-12-16 09:40:05 +01:00
Fixed cases where --bytes and --units are both not supplied.
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user