Fixed cases where --bytes and --units are both not supplied.
This commit is contained in:
		
							parent
							
								
									8fcd4a019e
								
							
						
					
					
						commit
						f317af3bf4
					
				|  | @ -1865,7 +1865,7 @@ def shell(): | ||||||
|         raise SpeedtestCLIError('Cannot supply both --no-download and ' |         raise SpeedtestCLIError('Cannot supply both --no-download and ' | ||||||
|                                 '--no-upload') |                                 '--no-upload') | ||||||
| 
 | 
 | ||||||
|     if not args.bytes and not args.units: |     if args.bytes and args.units: | ||||||
|         raise SpeedtestCLIError('Cannot supply both --bytes and ' |         raise SpeedtestCLIError('Cannot supply both --bytes and ' | ||||||
|                                 '--units') |                                 '--units') | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue