mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -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._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(),
|
||||
platform.system(),
|
||||
platform.machine(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue