Use pathlib.Path.home() instead of os.environ.get('HOME')

PiperOrigin-RevId: 903780979
Change-Id: I18b2580c65fc7c7411b5db3f8bd48d1b0535faa0
This commit is contained in:
Augustin Zidek
2026-04-22 05:14:19 -07:00
committed by Copybara-Service
parent e9adcd4dbf
commit 6f882ad224

View File

@@ -54,7 +54,7 @@ import numpy as np
import tokamax
_HOME_DIR = pathlib.Path(os.environ.get('HOME'))
_HOME_DIR = pathlib.Path.home()
_DEFAULT_MODEL_DIR = _HOME_DIR / 'models'
_DEFAULT_DB_DIR = _HOME_DIR / 'public_databases'