diff options
author | Florian Meyer <florianfelix@web.de> | 2010-07-29 20:22:36 +0400 |
---|---|---|
committer | Florian Meyer <florianfelix@web.de> | 2010-07-29 20:22:36 +0400 |
commit | c1b18f6012fdc8f59846c9d406630d70aaeca95b (patch) | |
tree | 7aaccf2cd8fff39a4b023533b8263886bab4f941 /add_mesh_BoltFactory | |
parent | 76a9395a7ecb008ee750a05e0fb27c22f2114714 (diff) |
- fixed wrong path
- was catching the user script path instead of the install script one
Diffstat (limited to 'add_mesh_BoltFactory')
-rw-r--r-- | add_mesh_BoltFactory/preset_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/add_mesh_BoltFactory/preset_utils.py b/add_mesh_BoltFactory/preset_utils.py index d25ff8ea..d29c8d63 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() |