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.
13 lines
346 B
13 lines
346 B
#!/usr/bin/python |
|
#snippet plugin |
|
import juci_to_python_api |
|
import os, glob |
|
|
|
cwd = os.getcwd() |
|
|
|
plugins = glob.glob(cwd+"/*.py") |
|
for current_file in plugins: |
|
(filepath, filename) = os.path.split(current_file) |
|
if filename != "plugins.py": |
|
juci_to_python_api.loadPlugin(filename) |
|
juci_to_python_api.addMenuElement(filename)
|
|
|