You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/python |
|
#plugin handler |
|
import sys, os, glob |
|
cwd = os.getcwd() |
|
sys.path.append(cwd+"/lib") |
|
|
|
import juci_to_python_api as juci |
|
def loadplugins(): |
|
plugin_files = glob.glob(cwd+"/plugins/*.py") |
|
for current_file in plugin_files: |
|
juci.initPlugin(current_file) |
|
|
|
loadplugins()
|
|
|