Skip to content

Commit 2855020

Browse files
committed
don't need None check anymore
1 parent fa8d319 commit 2855020

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/stac_utils/secret_context.py

-3
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,4 @@ def get_env(key: str, default=None) -> [list, dict, str]:
109109

110110
value = os.environ.get(key, default=default)
111111

112-
if value is None:
113-
return None
114-
115112
return safe_load_string_to_json(value)

0 commit comments

Comments
 (0)