Fix SpeedtestResults attributes for upload and download

This commit is contained in:
Matt Martz 2016-09-14 10:33:32 -05:00
parent 9e3a5b3a59
commit fd8b8cfa92
1 changed files with 2 additions and 5 deletions

View File

@ -496,12 +496,9 @@ class SpeedtestResults(object):
to get a share results image link. to get a share results image link.
""" """
download = 0
upload = 0
def __init__(self, download=0, upload=0, ping=0, server=None): def __init__(self, download=0, upload=0, ping=0, server=None):
self._download = download self.download = download
self._upload = upload self.upload = upload
self.ping = ping self.ping = ping
if server is None: if server is None:
self.server = {} self.server = {}