mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-08-04 06:40:52 +00:00
Ensure we don't accidentally set debug in python versions using optparse
This commit is contained in:
parent
4f7f367391
commit
69bae532c5
1 changed files with 1 additions and 1 deletions
|
|
@ -1203,7 +1203,7 @@ def shell():
|
|||
SCHEME = 'https'
|
||||
|
||||
debug = getattr(args, 'debug', False)
|
||||
if debug:
|
||||
if debug and debug != 'SUPPRESSHELP':
|
||||
DEBUG = True
|
||||
|
||||
# Pre-cache the user agent string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue