Fix SpeedtestResults attributes for upload and download
This commit is contained in:
parent
9e3a5b3a59
commit
fd8b8cfa92
|
@ -496,12 +496,9 @@ class SpeedtestResults(object):
|
|||
to get a share results image link.
|
||||
"""
|
||||
|
||||
download = 0
|
||||
upload = 0
|
||||
|
||||
def __init__(self, download=0, upload=0, ping=0, server=None):
|
||||
self._download = download
|
||||
self._upload = upload
|
||||
self.download = download
|
||||
self.upload = upload
|
||||
self.ping = ping
|
||||
if server is None:
|
||||
self.server = {}
|
||||
|
|
Loading…
Reference in New Issue