From da0c37d081ce52798064f92bde4a878bc2563b9a Mon Sep 17 00:00:00 2001 From: Etaash Mathamsetty <45927311+Etaash-mathamsetty@users.noreply.github.com> Date: Fri, 13 Oct 2023 18:35:21 -0400 Subject: [PATCH] don't append legendary to path --- legendary/lfs/lgndry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/lfs/lgndry.py b/legendary/lfs/lgndry.py index 78fc306..2e9b0bf 100644 --- a/legendary/lfs/lgndry.py +++ b/legendary/lfs/lgndry.py @@ -27,7 +27,7 @@ class LGDLFS: self.log = logging.getLogger('LGDLFS') if config_path := os.environ.get('LEGENDARY_CONFIG_PATH'): - self.path = os.path.join(config_path, 'legendary') + self.path = config_path elif config_path := os.environ.get('XDG_CONFIG_HOME'): self.path = os.path.join(config_path, 'legendary') else: