Skip to content

Commit

Permalink
U 优化 update
Browse files Browse the repository at this point in the history
  • Loading branch information
vapao committed Jun 11, 2020
1 parent fafbb4e commit 9270633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spug_api/apps/account/management/commands/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def handle(self, *args, **options):
# update dep
commands = [
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)
if task.wait() != 0:
Expand Down

0 comments on commit 9270633

Please sign in to comment.