mirror of https://github.com/Mai-with-u/MaiBot.git
config.MONGODB_PORT应该int
parent
595c375b60
commit
c7dd73871c
|
|
@ -759,7 +759,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