Skip to content

Commit a344598

Browse files
reverted fetch method changes
1 parent d39b2b3 commit a344598

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/backend/common/config/app_config.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,9 @@ def _get_optional(self, name: str, default: str = "") -> str:
178178
179179
Returns:
180180
The value of the environment variable or the default value.
181-
Returns default if the environment variable is empty or only whitespace.
182181
"""
183182
if name in os.environ:
184-
value = os.environ[name].strip() if os.environ[name] else ""
185-
return value if value else default
183+
return os.environ[name]
186184
return default
187185

188186
def _get_bool(self, name: str) -> bool:

0 commit comments

Comments
 (0)