diff options
author | Cody Hiar <codyfh@gmail.com> | 2018-07-13 10:32:06 -0600 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2018-07-13 10:32:06 -0600 |
commit | 3a5218ab5739957e287f8606a8987fc5721118ea (patch) | |
tree | dd0916196a350becc50d74ab2d9f7da49d268785 /hooks/pre_gen_project.py | |
parent | 2439cb0f8a0e0fd496926beff945c05bb04a2c51 (diff) |
Fixing pregen script
Diffstat (limited to 'hooks/pre_gen_project.py')
-rw-r--r-- | hooks/pre_gen_project.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/pre_gen_project.py b/hooks/pre_gen_project.py index 258ec53..85c171b 100644 --- a/hooks/pre_gen_project.py +++ b/hooks/pre_gen_project.py @@ -1,3 +1,3 @@ -if '-' in shortname: +if '-' in project_name: print('ERROR: Project shortname cannot contain dashes, please use underscores') sys.exit(1) |