fix(*): 将文件导入从绝对路径给为相对路径
This commit is contained in:
@@ -7,8 +7,8 @@ from pathlib import Path
|
||||
|
||||
from aiohttp import BodyPartReader, web
|
||||
|
||||
from config import ALLOWED_EXTENSIONS, MAX_UPLOAD_SIZE, UPLOAD_DIR
|
||||
from response import error, ok
|
||||
from ..config import ALLOWED_EXTENSIONS, MAX_UPLOAD_SIZE, UPLOAD_DIR
|
||||
from ..response import error, ok
|
||||
|
||||
logger = logging.getLogger("webhook-plugin.upload")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user