mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 21:15:56 +08:00
Fix User-Agent header in PluginBrowser
This commit is contained in:
parent
3af37d5dbc
commit
0358b1fcae
@ -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…
x
Reference in New Issue
Block a user