mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-08-04 14:49:36 +00:00
Fix SpeedtestResults attributes for upload and download
This commit is contained in:
parent
9e3a5b3a59
commit
fd8b8cfa92
1 changed files with 2 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue