Skip to content

Commit

Permalink
Update config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JPBergsma authored Dec 12, 2024
1 parent 0373a68 commit ba5a9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimade/server/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def align_mongo_uri_and_mongo_database(self) -> "ServerConfig":
"""
if self.database_backend == SupportedBackend.MONGODB:
if self.mongo_uri and self.mongo_database:
if self.mongo_uri:
import pymongo.uri_parser

if not self.mongo_uri.startswith(
Expand Down

0 comments on commit ba5a9ad

Please sign in to comment.