From da757ac18e43aa6e17fe3d323f6424ac68821fad Mon Sep 17 00:00:00 2001 From: derrod Date: Thu, 28 May 2020 22:45:08 +0200 Subject: [PATCH] [core] Also initialize Epic LFS on Linux --- legendary/core.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/legendary/core.py b/legendary/core.py index 50990d5..febfc6f 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -46,16 +46,11 @@ class LegendaryCore: self.log = logging.getLogger('Core') self.egs = EPCAPI() self.lgd = LGDLFS() + self.egl = EPCLFS() self.local_timezone = datetime.now().astimezone().tzinfo self.language_code, self.country_code = ('en', 'US') - # epic lfs only works on Windows right now - if os.name == 'nt': - self.egl = EPCLFS() - else: - self.egl = None - def get_locale(self): locale = self.lgd.config.get('Legendary', 'locale', fallback=getdefaultlocale()[0])