Update su_utils.py
This commit is contained in:
parent
8533b4cd3d
commit
a25ba9877b
1 changed files with 4 additions and 1 deletions
|
@ -257,7 +257,10 @@ def update_dependencies():
|
|||
poetry_install = os.popen('poetry install').read()[:-1]
|
||||
if poetry_install != '':
|
||||
return poetry_install
|
||||
return os.popen('pip install -r requirements.txt').read()[:-1]
|
||||
pip_install = os.popen('pip install -r requirements.txt').read()[:-1]
|
||||
if len(pip_install) > 1000:
|
||||
return '...' + pip_install[-1000:]
|
||||
return
|
||||
|
||||
|
||||
@upd.handle()
|
||||
|
|
Reference in a new issue