Merge pull request #12855 from dhwz/dev

don't print empty lines
This commit is contained in:
AUTOMATIC1111 2023-08-30 07:27:45 +03:00
parent 642faa1f65
commit 323dcadea2
1 changed files with 1 additions and 1 deletions

View File

@ -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: