diff options
author | Jabasukuriputo Wang <wfjsw@users.noreply.github.com> | 2023-07-22 10:33:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-22 10:33:59 +0000 |
commit | 3c26734d603560f57f7a145eed6cbdd50d20379c (patch) | |
tree | a00edf6f7535f8d8d62f5544b5ec8c9e9dd1c1a7 /modules/launch_utils.py | |
parent | 2a7e34fe79c82ac264919be8965b8d51afa32ac1 (diff) | |
download | stable-diffusion-webui-gfx803-3c26734d603560f57f7a145eed6cbdd50d20379c.tar.gz stable-diffusion-webui-gfx803-3c26734d603560f57f7a145eed6cbdd50d20379c.tar.bz2 stable-diffusion-webui-gfx803-3c26734d603560f57f7a145eed6cbdd50d20379c.zip |
nop
Diffstat (limited to 'modules/launch_utils.py')
-rw-r--r-- | modules/launch_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/launch_utils.py b/modules/launch_utils.py index 0c863e4a..c61edb36 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -194,7 +194,7 @@ def run_extension_installer(extension_dir): try:
env = os.environ.copy()
- env['PYTHONPATH'] = f"{os.path.abspath('.')}{os.pathsep}{env.get('PYTHONPATH')}"
+ env['PYTHONPATH'] = f"{os.path.abspath('.')}{os.pathsep}{env.get('PYTHONPATH', '')}"
print(run(f'"{python}" "{path_installer}"', errdesc=f"Error running install.py for extension {extension_dir}", custom_env=env))
except Exception as e:
|