Skip to content

Commit

Permalink
don't append legendary to path
Browse files Browse the repository at this point in the history
  • Loading branch information
Etaash-mathamsetty authored Oct 13, 2023
1 parent 3362413 commit da0c37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legendary/lfs/lgndry.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self, config_file=None):
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:
Expand Down

0 comments on commit da0c37d

Please sign in to comment.