mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-08-04 06:40:52 +00:00
Fix debug in py<=2.5
This commit is contained in:
parent
d41cfc0cb1
commit
1d6717e714
1 changed files with 3 additions and 1 deletions
|
|
@ -1285,7 +1285,9 @@ def shell():
|
|||
SCHEME = 'https'
|
||||
|
||||
debug = getattr(args, 'debug', False)
|
||||
if debug and debug != 'SUPPRESSHELP':
|
||||
if debug == 'SUPPRESSHELP':
|
||||
debug = False
|
||||
if debug:
|
||||
DEBUG = True
|
||||
|
||||
# Pre-cache the user agent string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue