mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[api] Fix wrong attribute name (#388)
This commit is contained in:
parent
d2a6f16060
commit
75f2da576b
|
@ -52,7 +52,7 @@ class EPCAPI:
|
|||
# update user-agent
|
||||
if version := egs_params['version']:
|
||||
self._user_agent = f'UELauncher/{version} Windows/10.0.19041.1.256.64bit'
|
||||
self._user_agent = f'EpicGamesLauncher/{version}'
|
||||
self._store_user_agent = f'EpicGamesLauncher/{version}'
|
||||
self.session.headers['User-Agent'] = self._user_agent
|
||||
self.unauth_session.headers['User-Agent'] = self._user_agent
|
||||
# update label
|
||||
|
|
Loading…
Reference in a new issue