mirror of https://github.com/morpheus65535/bazarr
Merge remote-tracking branch 'origin/development' into development
This commit is contained in:
commit
0b938524ee
|
@ -53,6 +53,9 @@ if not args.no_update:
|
||||||
import pip
|
import pip
|
||||||
except ImportError:
|
except ImportError:
|
||||||
logging.info('BAZARR unable to install requirements (pip not installed).')
|
logging.info('BAZARR unable to install requirements (pip not installed).')
|
||||||
|
else:
|
||||||
|
if os.path.expanduser("~") == '/':
|
||||||
|
logging.info('BAZARR unable to install requirements (user without home directory).')
|
||||||
else:
|
else:
|
||||||
logging.info('BAZARR installing requirements...')
|
logging.info('BAZARR installing requirements...')
|
||||||
subprocess.call([sys.executable, '-m', 'pip', 'install', '--user', '-r',
|
subprocess.call([sys.executable, '-m', 'pip', 'install', '--user', '-r',
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 2.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 4.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 3.8 KiB |
Loading…
Reference in New Issue