From 75f2da576ba5766708ebb02686c03bccdbc235e0 Mon Sep 17 00:00:00 2001 From: Wok Date: Wed, 29 Dec 2021 07:12:52 +0100 Subject: [PATCH] [api] Fix wrong attribute name (#388) --- legendary/api/egs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/api/egs.py b/legendary/api/egs.py index ad9205a..0b0ddc7 100644 --- a/legendary/api/egs.py +++ b/legendary/api/egs.py @@ -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