Update speedtest.py

This commit is contained in:
Lucky Jain 2021-06-19 15:47:21 +05:30 committed by GitHub
parent 42e96b13dd
commit 29c9718012
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1175,7 +1175,7 @@ class Speedtest(object):
client = get_attributes_by_tag_name(root, 'client')
ignore_servers = [
int(i) for i in server_config['ignoreids'].split(',') if i
int(i) for i in server_config['ignoreids'].split(',') if i and type(i)==int
]
ratio = int(upload['ratio'])