diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-30 04:27:45 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-08-30 05:23:40 +0000 |
commit | 323dcadea2a04387449159e56586a247efbca56c (patch) | |
tree | 36b886b7c9c87ef63d8c87e9f877de62e0e5e5b5 /modules/launch_utils.py | |
parent | 642faa1f6555b6522ee45a0275b87c61a34813f8 (diff) | |
download | stable-diffusion-webui-gfx803-323dcadea2a04387449159e56586a247efbca56c.tar.gz stable-diffusion-webui-gfx803-323dcadea2a04387449159e56586a247efbca56c.tar.bz2 stable-diffusion-webui-gfx803-323dcadea2a04387449159e56586a247efbca56c.zip |
Merge pull request #12855 from dhwz/dev
don't print empty lines
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 9aa0f071..05488fe6 100644 --- a/modules/launch_utils.py +++ b/modules/launch_utils.py @@ -228,7 +228,7 @@ def run_extension_installer(extension_dir): env = os.environ.copy()
env['PYTHONPATH'] = f"{os.path.abspath('.')}{os.pathsep}{env.get('PYTHONPATH', '')}"
- stdout = run(f'"{python}" "{path_installer}"', errdesc=f"Error running install.py for extension {extension_dir}", custom_env=env)
+ stdout = run(f'"{python}" "{path_installer}"', errdesc=f"Error running install.py for extension {extension_dir}", custom_env=env).strip()
if stdout:
print(stdout)
except Exception as e:
|