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.
This commit is contained in:
majick 2022-11-13 06:39:47 -08:00 committed by Lincoln Stein
parent fd67df9447
commit 58edf262e4

View File

@ -11,9 +11,8 @@ import time
import traceback
import yaml
from ldm.invoke.prompt_parser import PromptParser
sys.path.append('.') # corrects a weird problem on Macs
from ldm.invoke.prompt_parser import PromptParser
from ldm.invoke.readline import get_completer
from ldm.invoke.args import Args, metadata_dumps, metadata_from_png, dream_cmd_from_png
from ldm.invoke.pngwriter import PngWriter, retrieve_metadata, write_metadata