We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2d3acc commit f3f99b4Copy full SHA for f3f99b4
gramps_webapi/app.py
@@ -122,7 +122,7 @@ def create_app(config: Optional[Dict[str, Any]] = None):
122
if app.config["TREE"] == TREE_MULTI and app.config["NEW_DB_BACKEND"] != "sqlite":
123
# needed in case a new postgres tree is to be created
124
gramps_config.set("database.host", app.config["POSTGRES_HOST"])
125
- gramps_config.set("database.port", app.config["POSTGRES_PORT"])
+ gramps_config.set("database.port", str(app.config["POSTGRES_PORT"]))
126
127
# load JWT default settings
128
app.config.from_object(DefaultConfigJWT)
0 commit comments