diff options
Diffstat (limited to 'src/backend/VentooModule.py')
-rw-r--r-- | src/backend/VentooModule.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/VentooModule.py b/src/backend/VentooModule.py index ff2af32..35c79f9 100644 --- a/src/backend/VentooModule.py +++ b/src/backend/VentooModule.py @@ -22,14 +22,13 @@ import os.path as osp from lxml import etree import augeas_utils - -_ventoo_search_paths_ = ['../modules', '../../modules'] +import search_paths class VentooModule: def __init__(self, moduleName): #see if we can find the module files found = False; - for p in _ventoo_search_paths_: + for p in search_paths.modules: thisPath = osp.join(p,moduleName,"main.xml") if osp.isfile(thisPath): self.pathFound = thisPath |