Skip to content

Commit

Permalink
adjustment so home is setup for notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mrojas committed Jul 30, 2024
1 parent 46d247d commit 33a958e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/wheel_loader/wheel_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def load(whl_name,append=True, use_lock=True):
return message

def setup_home():
if os.getenv('HOME') is None:
if os.getenv('HOME') is None or os.getenv('HOME') == '/home/udf':
# many wheels need a home directory
logging.info("HOME dir was not set. Setting up one now")
os.environ["HOME"] = "/tmp/homedir"
Expand Down

0 comments on commit 33a958e

Please sign in to comment.