Skip to content

Commit

Permalink
Remove redundant setting in for loop
Browse files Browse the repository at this point in the history
Co-authored-by: Padraic Shafer <76011594+padraic-shafer@users.noreply.github.com>
  • Loading branch information
danielballan and padraic-shafer authored Nov 15, 2023
1 parent 981af13 commit fbf8292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tiled/server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ def override_get_settings():
]:
if authentication.get(item) is not None:
setattr(settings, item, authentication[item])
if authentication.get("single_user_api_key") is not None:
settings.single_user_api_key_generated = False
if authentication.get("single_user_api_key") is not None:
settings.single_user_api_key_generated = False
for item in [
"allow_origins",
"response_bytesize_limit",
Expand Down

0 comments on commit fbf8292

Please sign in to comment.