diff options
author | Cody Hiar <codyfh@gmail.com> | 2018-07-13 10:35:21 -0600 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2018-07-13 10:35:21 -0600 |
commit | 300cdc5a32207bc73b4aeee16e55043b61fabe43 (patch) | |
tree | 140a1851caad7394e21f7d711b5aff4c1e8004ab /hooks | |
parent | b017993bc6f01d71eca66441217a5f3c236500d7 (diff) |
One more fix
Diffstat (limited to 'hooks')
-rw-r--r-- | hooks/pre_gen_project.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hooks/pre_gen_project.py b/hooks/pre_gen_project.py index 93f277e..f195d6a 100644 --- a/hooks/pre_gen_project.py +++ b/hooks/pre_gen_project.py @@ -1,3 +1,6 @@ +"""Validate the project was created correctly.""" +import sys + project_name = '{{ cookiecutter.project_name }}' if '-' in project_name: |