Skip to content

Commit

Permalink
derive LVE repo from cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeurerkellner committed Dec 11, 2023
1 parent df50b7c commit c0ff37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lve-tools/lve_tools/lve/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def get_active_repo() -> LVERepo:
Returns the active LVE repository (derives it from the current path by
traversing up, until it finds a file named .lverepo).
"""
path = pathlib.Path(__file__).parent
path = os.getcwd()
try:
while path != "/" and path != "":
if os.path.exists(os.path.join(path, ".lverepo")):
Expand Down

0 comments on commit c0ff37f

Please sign in to comment.