From ff577b121efbab3f45549bd8c54400984cbd457a Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Fri, 27 Nov 2020 18:18:07 +0100 Subject: [PATCH] Bugfixes in app runtime --- src/sh_edraft/hosting/application_runtime.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/sh_edraft/hosting/application_runtime.py b/src/sh_edraft/hosting/application_runtime.py index 3252ecbe..e4ce40c1 100644 --- a/src/sh_edraft/hosting/application_runtime.py +++ b/src/sh_edraft/hosting/application_runtime.py @@ -7,22 +7,22 @@ from sh_edraft.hosting.base.application_runtime_base import ApplicationRuntimeBa class ApplicationRuntime(ApplicationRuntimeBase): - def __init__(self, config: ConfigurationBase, runtime: EnvironmentBase): + def __init__(self, config: ConfigurationBase, environment: EnvironmentBase): ApplicationRuntimeBase.__init__(self) - self._app_runtime = runtime + self._environment = environment self._app_configuration = config self._start_time: datetime = datetime.now() self._end_time: datetime = datetime.now() @property def environment(self) -> EnvironmentBase: - return self._app_runtime - + return self._environment + @property def configuration(self) -> ConfigurationBase: return self._app_configuration - + @property def start_time(self) -> datetime: return self._start_time