Skip to content

Commit 287b234

Browse files
committed
Make env var default param declaration os invariant
1 parent bcc783e commit 287b234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/super_gradients/common/environment/env_variables.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def HYDRA_FULL_ERROR(self, value: str):
4848

4949
@property
5050
def SUPER_GRADIENTS_LOG_DIR(self) -> str:
51-
return os.getenv("SUPER_GRADIENTS_LOG_DIR", default=f"{Path.home()}/sg_logs")
51+
return os.getenv("SUPER_GRADIENTS_LOG_DIR", default=str(Path.home()/"sg_logs"))
5252

5353

5454
env_variables = EnvironmentVariables()

0 commit comments

Comments
 (0)