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.

12 lines
261 B

#!/usr/bin/python
#plugin handler
import juci_to_python_api as juci, os, glob
def loadplugins():
cwd = os.getcwd()
plugin_files = glob.glob(cwd+"/plugins/*.py")
for current_file in plugin_files:
juci.initPlugin(current_file)
loadplugins()