mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-01-06 03:50:05 +01:00
Fix debug in py<=2.5
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user