This is an automated email from the ASF dual-hosted git repository. amitmiran pushed a commit to branch 1.2 in repository https://gitbox.apache.org/repos/asf/superset.git
commit c2d24782d974863afa8ffb7a0ca4c8f2b10bb849 Author: David Aaron Suddjian <[email protected]> AuthorDate: Thu May 6 15:30:49 2021 -0700 fix: parameterize titles correctly (#14509) (cherry picked from commit 52dbe311c71e2f188c7b961f092eec5459f3bfab) --- superset/views/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superset/views/core.py b/superset/views/core.py index 06c03aa..5ee2ed8 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -824,7 +824,7 @@ class Superset(BaseSupersetView): # pylint: disable=too-many-public-methods bootstrap_data, default=utils.pessimistic_json_iso_dttm_ser ), entry="explore", - title=title, + title=title.__str__(), standalone_mode=standalone_mode, ) @@ -2821,7 +2821,7 @@ class Superset(BaseSupersetView): # pylint: disable=too-many-public-methods return self.render_template( "superset/basic.html", - title=_("%(user)s's profile", user=username), + title=_("%(user)s's profile", user=username).__str__(), entry="profile", bootstrap_data=json.dumps( payload, default=utils.pessimistic_json_iso_dttm_ser
