Browse Source

Fix plugin creation command

Peter Justin 8 years ago
parent
commit
4c1b95725e
1 changed files with 1 additions and 1 deletions
  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
     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),
                 fg="cyan")
     cookiecutter(template, output_dir=out_dir)