Switch from platform.system to platform.platform. Fixes #574

This commit is contained in:
Matt Martz 2019-02-19 16:37:23 -06:00
parent b0b826c870
commit b43334f1ec
1 changed files with 1 additions and 1 deletions

View File

@ -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__