Improved default cwd in ApplicationEnvironment

This commit is contained in:
Sven Heidemann 2021-04-11 10:04:55 +02:00
parent 113d3199b1
commit 3aa3a874c9

View File

@ -23,7 +23,7 @@ class ApplicationEnvironment(ApplicationEnvironmentABC):
self._start_time: datetime = datetime.now() self._start_time: datetime = datetime.now()
self._end_time: datetime = datetime.now() self._end_time: datetime = datetime.now()
self._runtime_directory = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) self._runtime_directory = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
self._working_directory = os.path.abspath('./') self._working_directory = os.getcwd()
@property @property
def environment_name(self) -> str: def environment_name(self) -> str: