Remove probably unneeded change

This commit is contained in:
Brandon Rising 2023-07-27 16:54:24 -04:00
parent 22a9abdb70
commit f6a5018786

View File

@ -290,7 +290,7 @@ class InvokeAiInstance:
src = str(next(Path(__file__).parent.glob("InvokeAI-*.whl")))
except StopIteration:
try:
src = Path(__file__).parents[2].expanduser().resolve()
src = Path(__file__).parents[1].expanduser().resolve()
# if the above directory contains one of these files, we'll do a source install
next(src.glob("pyproject.toml"))
next(src.glob("invokeai"))