Fix for missing double quote blocking installation of requirements.txt on Windows when Bazarr path contain a space.

pull/137/head
morpheus65535 6 years ago
parent 1d0651c9e8
commit ba49abfb8d

@ -7,7 +7,7 @@ import sys
try:
logging.info('Installing Python modules required for Bazarr...')
command = sys.executable + ' -m pip --disable-pip-version-check -q -q install --user -r ' + os.path.join(os.path.dirname(__file__), 'requirements.txt')
command = sys.executable + ' -m pip --disable-pip-version-check -q -q install --user -r "' + os.path.join(os.path.dirname(__file__), 'requirements.txt"')
if os.name == 'nt':
codepage = check_output("chcp", shell=True, stderr=subprocess.STDOUT)

Loading…
Cancel
Save