Switch from platform.system to platform.platform. Fixes #574
This commit is contained in:
parent
b0b826c870
commit
b43334f1ec
|
@ -607,7 +607,7 @@ def build_user_agent():
|
|||
|
||||
ua_tuple = (
|
||||
'Mozilla/5.0',
|
||||
'(%s; U; %s; en-us)' % (platform.system(), platform.architecture()[0]),
|
||||
'(%s; U; %s; en-us)' % (platform.platform(), platform.architecture()[0]),
|
||||
'Python/%s' % platform.python_version(),
|
||||
'(KHTML, like Gecko)',
|
||||
'speedtest-cli/%s' % __version__
|
||||
|
|
Loading…
Reference in New Issue