bazarr/update_modules.py

11 lines
187 B
Python

import pip
try:
pip.main(['install', '--user', 'gitpython'])
except SystemExit as e:
pass
try:
pip.main(['install', '--user', 'langdetect'])
except SystemExit as e:
pass