os was imported

This commit is contained in:
tcely 2025-03-09 09:45:46 -04:00 committed by GitHub
parent eabcb36aaa
commit e5c0abbdca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,9 +33,6 @@ def getenv(key, default=None, /, *, integer=False, string=True):
d = str(default) if default is not None else None
# just in case `os` wasn't already imported
import os
r = os.getenv(key, d)
if r is None:
if string: r = str()