summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/scrap/scrapscan.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/scrap/scrapscan.py')
-rw-r--r--Mac/Modules/scrap/scrapscan.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mac/Modules/scrap/scrapscan.py b/Mac/Modules/scrap/scrapscan.py
index 0bad7c2..95bf1bb 100644
--- a/Mac/Modules/scrap/scrapscan.py
+++ b/Mac/Modules/scrap/scrapscan.py
@@ -3,8 +3,10 @@
# Note that the scrap-manager include file is so weird that this
# generates a boilerplate to be edited by hand.
-import addpack
-addpack.addpack(':tools:bgen:bgen')
+import sys
+import os
+BGENDIR=os.path.join(sys.prefix, ':Tools:bgen:bgen')
+sys.path.append(BGENDIR)
from scantools import Scanner
from bgenlocations import TOOLBOXDIR