mirror of https://github.com/Mai-with-u/MaiBot.git
config.MONGODB_PORT应该int
parent
0f5f1c920d
commit
85c377f3c7
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue