get xos root from config
diff --git a/planetstack/dependency_walker.py b/planetstack/dependency_walker.py
index 8b15a85..1959a7a 100644
--- a/planetstack/dependency_walker.py
+++ b/planetstack/dependency_walker.py
@@ -2,7 +2,7 @@
import os
import imp
-from planetstack.config import Config
+from planetstack.config import Config, XOS_ROOT
import inspect
import time
import traceback
@@ -20,7 +20,7 @@
try:
dep_data = open(Config().dependency_graph).read()
except:
- dep_data = open('/opt/planetstack/model-deps').read()
+ dep_data = open(XOS_ROOT + '/model-deps').read()
dependencies = json.loads(dep_data)