Wrap one more BASE_URL usages with str()

In 59372aba33 a lazily evaluated BASE_URL tool was introduced.
I found 1 more case in which BASE_URL was not "collapsed into a
string" magically by `__add__`, causing an
`AttributeError: 'TenantBaseURL' object has no attribute 'decode'`
This commit is contained in:
Klaas van Schelven
2025-06-19 09:44:55 +02:00
parent 8ad9fe33ca
commit 9135e88495

View File

@@ -38,7 +38,7 @@ def check_event_storage_properly_configured(app_configs, **kwargs):
@register("bsmain")
def check_base_url_is_url(app_configs, **kwargs):
try:
parts = urllib.parse.urlsplit(get_settings().BASE_URL)
parts = urllib.parse.urlsplit(str(get_settings().BASE_URL))
except ValueError as e:
return [Warning(
str(e),