Skip to content

Commit

Permalink
Fix Http config flow wrong title.
Browse files Browse the repository at this point in the history
  • Loading branch information
J1A-T13N committed Aug 15, 2024
1 parent 6d67c41 commit 9b2dc87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/trem/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ async def validate_input(
if CONF_NODE in user_input:
uri: str = user_input[CONF_NODE]
if uri.lower() == "random" or uri in BASE_URLS:
return True
return region_name if return_region else True

if validators.url(uri):
try:
Expand Down

0 comments on commit 9b2dc87

Please sign in to comment.