🐛 修复core重启的路径问题

This commit is contained in:
Wuyi无疑 2023-05-23 21:51:59 +08:00
parent d251bfca5b
commit 86f4d8dde1
3 changed files with 6 additions and 29 deletions

View File

@ -7,7 +7,7 @@ from pathlib import Path
from gsuid_core.utils.plugins_config.gs_config import core_plugins_config from gsuid_core.utils.plugins_config.gs_config import core_plugins_config
bot_start = Path(__file__).parents[4] / 'core.py' bot_start = Path(__file__).parents[3] / 'core.py'
restart_sh_path = Path().cwd() / 'gs_restart.sh' restart_sh_path = Path().cwd() / 'gs_restart.sh'
update_log_path = Path(__file__).parent / 'update_log.json' update_log_path = Path(__file__).parent / 'update_log.json'

28
poetry.lock generated
View File

@ -1844,27 +1844,6 @@ type = "legacy"
url = "https://mirrors.bfsu.edu.cn/pypi/web/simple" url = "https://mirrors.bfsu.edu.cn/pypi/web/simple"
reference = "mirrors" reference = "mirrors"
[[package]]
name = "pytz-deprecation-shim"
version = "0.1.0.post0"
description = "Shims to make deprecation of pytz easier"
category = "main"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7"
files = [
{file = "pytz_deprecation_shim-0.1.0.post0-py2.py3-none-any.whl", hash = "sha256:8314c9692a636c8eb3bda879b9f119e350e93223ae83e70e80c31675a0fdc1a6"},
{file = "pytz_deprecation_shim-0.1.0.post0.tar.gz", hash = "sha256:af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d"},
]
[package.dependencies]
"backports.zoneinfo" = {version = "*", markers = "python_version >= \"3.6\" and python_version < \"3.9\""}
tzdata = {version = "*", markers = "python_version >= \"3.6\""}
[package.source]
type = "legacy"
url = "https://mirrors.bfsu.edu.cn/pypi/web/simple"
reference = "mirrors"
[[package]] [[package]]
name = "pyyaml" name = "pyyaml"
version = "6.0" version = "6.0"
@ -2351,19 +2330,18 @@ reference = "mirrors"
[[package]] [[package]]
name = "tzlocal" name = "tzlocal"
version = "4.3" version = "5.0.1"
description = "tzinfo object for the local timezone" description = "tzinfo object for the local timezone"
category = "main" category = "main"
optional = false optional = false
python-versions = ">=3.7" python-versions = ">=3.7"
files = [ files = [
{file = "tzlocal-4.3-py3-none-any.whl", hash = "sha256:b44c4388f3d34f25862cfbb387578a4d70fec417649da694a132f628a23367e2"}, {file = "tzlocal-5.0.1-py3-none-any.whl", hash = "sha256:f3596e180296aaf2dbd97d124fe76ae3a0e3d32b258447de7b939b3fd4be992f"},
{file = "tzlocal-4.3.tar.gz", hash = "sha256:3f21d09e1b2aa9f2dacca12da240ca37de3ba5237a93addfd6d593afe9073355"}, {file = "tzlocal-5.0.1.tar.gz", hash = "sha256:46eb99ad4bdb71f3f72b7d24f4267753e240944ecfc16f25d2719ba89827a803"},
] ]
[package.dependencies] [package.dependencies]
"backports.zoneinfo" = {version = "*", markers = "python_version < \"3.9\""} "backports.zoneinfo" = {version = "*", markers = "python_version < \"3.9\""}
pytz-deprecation-shim = "*"
tzdata = {version = "*", markers = "platform_system == \"Windows\""} tzdata = {version = "*", markers = "platform_system == \"Windows\""}
[package.extras] [package.extras]

View File

@ -38,7 +38,6 @@ pillow==9.5.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
pydantic==1.10.7 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" pydantic==1.10.7 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
pypng==0.20220715.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" pypng==0.20220715.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
python-multipart==0.0.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" python-multipart==0.0.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
pytz-deprecation-shim==0.1.0.post0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
pytz==2023.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" pytz==2023.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
qrcode[pil]==7.4.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" qrcode[pil]==7.4.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
setuptools==67.7.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" setuptools==67.7.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
@ -53,8 +52,8 @@ sqlmodel==0.0.8 ; python_full_version >= "3.8.1" and python_full_version < "4.0.
sqlmodelx==0.0.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" sqlmodelx==0.0.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
starlette==0.26.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" starlette==0.26.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
typing-extensions==4.5.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" typing-extensions==4.5.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
tzdata==2023.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" tzdata==2023.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" and platform_system == "Windows"
tzlocal==4.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" tzlocal==5.0.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
urllib3==1.26.15 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" urllib3==1.26.15 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
uvicorn==0.22.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" uvicorn==0.22.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
websockets==10.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" websockets==10.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"