Skip to content

Commit f3f99b4

Browse files
authored
Fix port data type (#394)
1 parent b2d3acc commit f3f99b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gramps_webapi/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def create_app(config: Optional[Dict[str, Any]] = None):
122122
if app.config["TREE"] == TREE_MULTI and app.config["NEW_DB_BACKEND"] != "sqlite":
123123
# needed in case a new postgres tree is to be created
124124
gramps_config.set("database.host", app.config["POSTGRES_HOST"])
125-
gramps_config.set("database.port", app.config["POSTGRES_PORT"])
125+
gramps_config.set("database.port", str(app.config["POSTGRES_PORT"]))
126126

127127
# load JWT default settings
128128
app.config.from_object(DefaultConfigJWT)

0 commit comments

Comments
 (0)