Reformatted and cleaned up everything

This commit is contained in:
2025-04-16 18:05:07 +02:00
parent e90694f0aa
commit a100324265
9 changed files with 40 additions and 32 deletions

View File

@@ -16,9 +16,7 @@ if db_config["user"] is not None and db_config["password"] is not None:
db_config["name"],
)
else:
con_string = "mongodb://{0}:{1}/{2}".format(
db_config["host"], db_config["port"], db_config["name"]
)
con_string = "mongodb://{0}:{1}/{2}".format(db_config["host"], db_config["port"], db_config["name"])
db_client = AsyncClient(con_string)
db: AsyncDatabase = db_client.get_database(name=db_config["name"])