Skip to content

Commit

Permalink
Switch from platform.system to platform.platform. Fixes #574
Browse files Browse the repository at this point in the history
  • Loading branch information
sivel committed Feb 19, 2019
1 parent b0b826c commit b43334f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speedtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down

0 comments on commit b43334f

Please sign in to comment.