mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-08-04 14:49:36 +00:00
make sure ignore_servers is a list
This commit is contained in:
parent
aa52e550bf
commit
08e87f4c54
1 changed files with 3 additions and 1 deletions
|
|
@ -689,7 +689,9 @@ class Speedtest(object):
|
|||
# times = get_attributes_by_tag_name(root, 'times')
|
||||
client = get_attributes_by_tag_name(root, 'client')
|
||||
|
||||
ignore_servers = map(int, server_config['ignoreids'].split(','))
|
||||
ignore_servers = list(
|
||||
map(int, server_config['ignoreids'].split(','))
|
||||
)
|
||||
|
||||
# sizes = dict(upload=[], download=[])
|
||||
# sizes = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue