config.MONGODB_PORT应该int

pull/171/head
XBC_D2O 2025-03-11 00:31:55 +08:00 committed by GitHub
parent 0f5f1c920d
commit 85c377f3c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -708,7 +708,7 @@ start_time = time.time()
Database.initialize(
host= config.MONGODB_HOST,
port= config.MONGODB_PORT,
port=int(config.MONGODB_PORT),
db_name= config.DATABASE_NAME,
username= config.MONGODB_USERNAME,
password= config.MONGODB_PASSWORD,