1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-01-01 04:26:13 +00:00

Removed the --no-color argument to pip command when installing requirements as it's not supported by older version of pip.

This commit is contained in:
morpheus65535 2021-08-09 09:14:56 -04:00
parent 144db064cd
commit aa6dcbd732

View file

@ -65,8 +65,7 @@ if not args.no_update:
logging.info('BAZARR installing requirements...')
try:
pip_command = [sys.executable, '-m', 'pip', 'install', '-qq', '--disable-pip-version-check',
'--no-color', '-r', os.path.join(os.path.dirname(os.path.dirname(__file__)),
'requirements.txt')]
'-r', os.path.join(os.path.dirname(os.path.dirname(__file__)), 'requirements.txt')]
if not is_virtualenv():
# --user only make sense if not running under venv
pip_command.insert(4, '--user')