tools: remove hardcoded fallback paths in memory_remember, task_check

This commit is contained in:
Levi Neely 2026-05-11 13:20:26 +02:00
parent a17c874351
commit e1e5538a42
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ title = sys.argv[1]
tags_csv = sys.argv[2]
body = sys.argv[3]
mount = os.environ.get("OLLIE") or os.path.expanduser("~/mnt/ollie")
mount = os.environ["OLLIE"]
mem_dir = os.path.join(mount, "m")
if not os.path.isdir(mem_dir):

View File

@ -10,7 +10,7 @@ if not sid:
print("error: OLLIE_SESSION_ID not set", file=sys.stderr)
sys.exit(1)
ollie = os.environ.get("OLLIE", os.path.expanduser("~/mnt/ollie"))
ollie = os.environ["OLLIE"]
plan_path = os.path.join(ollie, "s", sid, "plan")
try: