flake8 fixup

This commit is contained in:
Matt Martz 2018-03-23 11:08:35 -05:00
parent 59d4172446
commit 3692ad259b
1 changed files with 4 additions and 1 deletions

View File

@ -2120,7 +2120,10 @@ def shell():
printer('Retrieving speedtest.net server list...', quiet) printer('Retrieving speedtest.net server list...', quiet)
if not args.custom: if not args.custom:
try: try:
speedtest.get_servers(servers=args.server, exclude=args.exclude) speedtest.get_servers(
servers=args.server,
exclude=args.exclude
)
except NoMatchedServers: except NoMatchedServers:
raise SpeedtestCLIError( raise SpeedtestCLIError(
'No matched servers: %s' % 'No matched servers: %s' %