From 9e401e7a83512e395cf4f6630574e667ff3e4f2a Mon Sep 17 00:00:00 2001 From: HibiKier <45528451+HibiKier@users.noreply.github.com> Date: Sat, 29 May 2021 14:06:33 +0800 Subject: [PATCH] Update __init__.py --- plugins/update_gocqhttp/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/update_gocqhttp/__init__.py b/plugins/update_gocqhttp/__init__.py index 5e1db1d7..8c1f5cbb 100644 --- a/plugins/update_gocqhttp/__init__.py +++ b/plugins/update_gocqhttp/__init__.py @@ -9,7 +9,8 @@ from util.utils import scheduler, get_bot, UserExistLimiter from configs.config import UPDATE_GOCQ_GROUP from pathlib import Path -path = str(Path('/resources/gocqhttp_file/').absolute()) + '/' +path = str((Path() / "resources" / "gocqhttp_file").absolute()) + '/' +print(path) lasted_gocqhttp = on_command("更新gocq", permission=GROUP, priority=5, block=True)