From c1b18f6012fdc8f59846c9d406630d70aaeca95b Mon Sep 17 00:00:00 2001
From: Florian Meyer <florianfelix@web.de>
Date: Thu, 29 Jul 2010 16:22:36 +0000
Subject: [PATCH] - fixed wrong path - was catching the user script path
 instead of the install script one

---
 add_mesh_BoltFactory/preset_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/add_mesh_BoltFactory/preset_utils.py b/add_mesh_BoltFactory/preset_utils.py
index d25ff8eaf..d29c8d631 100644
--- a/add_mesh_BoltFactory/preset_utils.py
+++ b/add_mesh_BoltFactory/preset_utils.py
@@ -23,7 +23,7 @@ import os, sys
 
 def getPresets():
 
-    scriptPath = sys.path[0] + os.sep + "add_mesh_BoltFactory"
+    scriptPath = sys.path[1] + os.sep + "add_mesh_BoltFactory"
     presetPath = scriptPath + os.sep +"presets"
     presetFiles = os.listdir(presetPath)
     #presetFiles.sort()
-- 
GitLab