mirror of
https://github.com/sivel/speedtest-cli.git
synced 2026-01-07 04:20:06 +01:00
Switch from platform.system to platform.platform. Fixes #574
This commit is contained in:
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user