From a7df8e6014699a0ea8cc538297d3bc13512238bb Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Fri, 21 Dec 2018 15:05:27 +0100 Subject: [PATCH] Fixed qp_plugins --- TODO | 2 +- plugins/local/.gitignore | 1 + scripts/module/qp_plugins | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 plugins/local/.gitignore diff --git a/TODO b/TODO index b46ac13f..ea8307f2 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,4 @@ -* Virer tous les modules qui sont dans plugins +* Virer cache compile * Separer integrales ERF # qp_module diff --git a/plugins/local/.gitignore b/plugins/local/.gitignore new file mode 100644 index 00000000..72e8ffc0 --- /dev/null +++ b/plugins/local/.gitignore @@ -0,0 +1 @@ +* diff --git a/scripts/module/qp_plugins b/scripts/module/qp_plugins index 7979b61c..2a350395 100755 --- a/scripts/module/qp_plugins +++ b/scripts/module/qp_plugins @@ -6,7 +6,7 @@ Usage: qp_plugins download qp_plugins install ... qp_plugins uninstall - qp_plugins create -n [...] + qp_plugins create -n [...] Options: list List all the plugins @@ -114,11 +114,12 @@ def main(arguments): if arguments["create"]: m_instance = ModuleHandler([QP_SRC]) + print arguments l_children = arguments[""] name = arguments[""][0] - path = os.path.join(QP_PLUGINS, name) + path = os.path.join(QP_PLUGINS, "local", name) print "Created plugin:" print path, '\n'