diff --git a/cwl_airflow/app/app.py b/cwl_airflow/app/app.py index ba07a45..c18de50 100644 --- a/cwl_airflow/app/app.py +++ b/cwl_airflow/app/app.py @@ -7,7 +7,6 @@ class App(toga.App): - __airflow_home_default = "~/airflow" __launcher = None def load(self, widget): @@ -18,7 +17,7 @@ def unload(self, widget): def startup(self): # Create Launcher - self.__launcher = Launcher(self.__airflow_home_default) + self.__launcher = Launcher(os.environ.get("AIRFLOW_HOME")) self.__launcher.configure() # Create a main window with a name matching the app