From 93ae023ea3f1f10f5a7225a24e4c612b9f0b8e34 Mon Sep 17 00:00:00 2001 From: satori Date: Sun, 10 Nov 2024 20:23:05 +0800 Subject: [PATCH] =?UTF-8?q?DEBUG:=20=E8=BE=93=E5=85=A5=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configs/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/config.py b/configs/config.py index 826dc78..b6be300 100644 --- a/configs/config.py +++ b/configs/config.py @@ -9,13 +9,13 @@ from apscheduler.schedulers.background import BackgroundScheduler if not os.path.exists('.env'): print('请输入环境变量参数, 将会写入 .env 文件中') MYSQL_HOST = input('MYSQL_HOST: ') - MYSQL_PORT = input('MYSQL_PORT: ') + MYSQL_PORT = int(input('MYSQL_PORT: ')) MYSQL_USER = input('MYSQL_USER: ') MYSQL_PASS = input('MYSQL_PASS: ') MYSQL_NAME = input('MYSQL_NAME: ') MILVUS_HOST = input('MILVUS_HOST: ') - MILVUS_PORT = input('MILVUS_PORT: ') + MILVUS_PORT = int(input('MILVUS_PORT: ')) OSS_HOST = input('OSS_HOST: ') OSS_ACCESS_KEY_ID = input('OSS_ACCESS_KEY_ID: ')