Fix import script to use mounted path instead of __file__
Made-with: Cursor
This commit is contained in:
@@ -13,8 +13,10 @@ import os
|
||||
import pickle
|
||||
import sys
|
||||
|
||||
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
JSON_PATH = os.path.join(SCRIPT_DIR, "pathways_2_rw.json")
|
||||
JSON_PATH = os.environ.get(
|
||||
"TIPS_JSON_PATH",
|
||||
"/mnt/custom/scripts/pathways_2_rw.json",
|
||||
)
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user