ektormak commented on a change in pull request #10162:
URL: https://github.com/apache/airflow/pull/10162#discussion_r465609170
##########
File path: airflow/www/views.py
##########
@@ -336,11 +336,19 @@ def get_int_arg(value, default=0):
state_color_mapping = State.state_color.copy()
state_color_mapping["null"] = state_color_mapping.pop(None)
+ page_title = "Airflow - DAGs"
+ site_title = conf.get(section="webserver", key="site_title",
fallback="DAGs")
+ if site_title != "DAGs":
+ site_title = site_title.replace("\"", "").replace("'", "")
+ page_title = site_title
Review comment:
why not use 1 variable here since they have the same value?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]