Skip to content

Commit 0193b49

Browse files
committed
Correct indentation
1 parent 0388f21 commit 0193b49

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tiled/server/app.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -468,13 +468,13 @@ def override_get_settings():
468468
settings.database_settings.max_overflow = database.max_overflow
469469
if database.init_if_not_exists is not None:
470470
settings.database_init_if_not_exists = database.init_if_not_exists
471-
if authenticators:
472-
# If we support authentication providers, we need a database, so if one is
473-
# not set, use a SQLite database in memory. Horizontally scaled deployments
474-
# must specify a persistent database.
475-
settings.database_settings.uri = (
476-
settings.database_settings.uri or "sqlite://"
477-
)
471+
if authenticators:
472+
# If we support authentication providers, we need a database, so if one is
473+
# not set, use a SQLite database in memory. Horizontally scaled deployments
474+
# must specify a persistent database.
475+
settings.database_settings.uri = (
476+
settings.database_settings.uri or "sqlite://"
477+
)
478478
if (
479479
authenticators
480480
and len(authenticators) == 1

0 commit comments

Comments
 (0)