U 优化 update

pull/137/head v2.3.2
vapao 2020-06-11 15:39:28 +08:00
parent fafbb4e36e
commit 92706334fc
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class Command(BaseCommand):
# update dep # update dep
commands = [ commands = [
f'cd {settings.BASE_DIR}', f'cd {settings.BASE_DIR}',
'pip install -r requirements.txt' 'pip install -r requirements.txt -i https://pypi.doubanio.com/simple/'
] ]
task = subprocess.Popen(' && '.join(commands), shell=True) task = subprocess.Popen(' && '.join(commands), shell=True)
if task.wait() != 0: if task.wait() != 0: