Archived
1
0
Fork 0

Update su_utils.py

This commit is contained in:
yzhh 2023-03-11 19:48:33 +08:00
parent 8533b4cd3d
commit a25ba9877b

View file

@ -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()