mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Fix User-Agent header in PluginBrowser
This commit is contained in:
parent
3af37d5dbc
commit
0358b1fcae
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ class PluginBrowser(QObject, Extension):
|
||||||
self._is_downloading = False
|
self._is_downloading = False
|
||||||
|
|
||||||
self._request_header = [b"User-Agent",
|
self._request_header = [b"User-Agent",
|
||||||
str.encode("%s\%s (%s %s)" % (Application.getInstance().getApplicationName(),
|
str.encode("%s/%s (%s %s)" % (Application.getInstance().getApplicationName(),
|
||||||
Application.getInstance().getVersion(),
|
Application.getInstance().getVersion(),
|
||||||
platform.system(),
|
platform.system(),
|
||||||
platform.machine(),
|
platform.machine(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue