make sure ignore_servers is a list

This commit is contained in:
Matt Martz 2016-03-07 17:05:28 -06:00
parent aa52e550bf
commit 08e87f4c54
1 changed files with 3 additions and 1 deletions

View File

@ -689,7 +689,9 @@ class Speedtest(object):
# times = get_attributes_by_tag_name(root, 'times') # times = get_attributes_by_tag_name(root, 'times')
client = get_attributes_by_tag_name(root, 'client') 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 = dict(upload=[], download=[])
# sizes = {} # sizes = {}