Peter Justin 8 лет назад
Родитель
Сommit
4c1b95725e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      flaskbb/cli/plugins.py

+ 1 - 1
flaskbb/cli/plugins.py

@@ -45,7 +45,7 @@ def new_plugin(plugin_identifier, template):
     It will either accept a valid path on the filesystem
     It will either accept a valid path on the filesystem
     or a URL to a Git repository which contains the cookiecutter template.
     or a URL to a Git repository which contains the cookiecutter template.
     """
     """
-    out_dir = os.path.join(current_app.root_path, "plugins", plugin_identifier)
+    out_dir = os.path.join(current_app.root_path, "plugins")
     click.secho("[+] Creating new plugin {}".format(plugin_identifier),
     click.secho("[+] Creating new plugin {}".format(plugin_identifier),
                 fg="cyan")
                 fg="cyan")
     cookiecutter(template, output_dir=out_dir)
     cookiecutter(template, output_dir=out_dir)