mirror of https://gitlab.com/cppit/jucipp
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.
14 lines
296 B
14 lines
296 B
|
11 years ago
|
#!/usr/bin/python
|
||
|
11 years ago
|
#plugin handler
|
||
|
11 years ago
|
import sys, os, glob
|
||
|
|
cwd = os.getcwd()
|
||
|
11 years ago
|
sys.path.append(cwd+"/lib")
|
||
|
11 years ago
|
|
||
|
11 years ago
|
import juci_to_python_api as juci
|
||
|
11 years ago
|
def loadplugins():
|
||
|
|
plugin_files = glob.glob(cwd+"/plugins/*.py")
|
||
|
|
for current_file in plugin_files:
|
||
|
11 years ago
|
juci.initPlugin(current_file)
|
||
|
11 years ago
|
|
||
|
|
loadplugins()
|