diff options
author | Cody Hiar <codyfh@gmail.com> | 2018-07-13 10:33:47 -0600 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2018-07-13 10:33:47 -0600 |
commit | b017993bc6f01d71eca66441217a5f3c236500d7 (patch) | |
tree | 3532b3b9b9c51eab797c1ad8a14a8ce781c5c7aa | |
parent | 3a5218ab5739957e287f8606a8987fc5721118ea (diff) |
Fixing for real
-rw-r--r-- | hooks/pre_gen_project.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hooks/pre_gen_project.py b/hooks/pre_gen_project.py index 85c171b..93f277e 100644 --- a/hooks/pre_gen_project.py +++ b/hooks/pre_gen_project.py @@ -1,3 +1,5 @@ +project_name = '{{ cookiecutter.project_name }}' + if '-' in project_name: print('ERROR: Project shortname cannot contain dashes, please use underscores') sys.exit(1) |