don't append legendary to path

This commit is contained in:
Etaash Mathamsetty 2023-10-13 18:35:21 -04:00 committed by GitHub
parent 3362413e05
commit da0c37d081
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: