Skip to content

Commit 13252c4

Browse files
stainless-botRobertCraigie
authored andcommitted
chore(internal): cleanup some redundant code
1 parent a947b4d commit 13252c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/openai/_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def __init__(
9393
self.api_key = api_key
9494

9595
if organization is None:
96-
organization = os.environ.get("OPENAI_ORG_ID") or None
96+
organization = os.environ.get("OPENAI_ORG_ID")
9797
self.organization = organization
9898

9999
if base_url is None:
@@ -292,7 +292,7 @@ def __init__(
292292
self.api_key = api_key
293293

294294
if organization is None:
295-
organization = os.environ.get("OPENAI_ORG_ID") or None
295+
organization = os.environ.get("OPENAI_ORG_ID")
296296
self.organization = organization
297297

298298
if base_url is None:

0 commit comments

Comments
 (0)