Skip to content

Commit

Permalink
Merge pull request #1063 from Drakkar-Software/dev
Browse files Browse the repository at this point in the history
[WebInterface] fix forced_profile_url
  • Loading branch information
GuillaumeDSM authored Sep 26, 2023
2 parents 3a6c478 + 2104883 commit 63f2ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/Interfaces/web_interface/models/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def get_forced_profile() -> profiles.Profile:
authentication.Authenticator.instance().get_startup_info(),
log_exceptions=False
)
if startup_info.forced_profile:
if startup_info.forced_profile_url:
return get_current_profile()
except community.BotError:
pass
Expand Down

0 comments on commit 63f2ec6

Please sign in to comment.