Skip to content

Commit 58edf26

Browse files
majicklstein
authored andcommitted
Fix CWD being removed from path again. Refixes #723 again
Weirdly, I'm not even on a Mac or using a special Python distro. Just plain old Debian stable and a plain old venv.
1 parent fd67df9 commit 58edf26

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/invoke.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@
1111
import traceback
1212
import yaml
1313

14-
from ldm.invoke.prompt_parser import PromptParser
15-
1614
sys.path.append('.') # corrects a weird problem on Macs
15+
from ldm.invoke.prompt_parser import PromptParser
1716
from ldm.invoke.readline import get_completer
1817
from ldm.invoke.args import Args, metadata_dumps, metadata_from_png, dream_cmd_from_png
1918
from ldm.invoke.pngwriter import PngWriter, retrieve_metadata, write_metadata

0 commit comments

Comments
 (0)