aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2018-07-13 10:32:06 -0600
committerCody Hiar <codyfh@gmail.com>2018-07-13 10:32:06 -0600
commit3a5218ab5739957e287f8606a8987fc5721118ea (patch)
treedd0916196a350becc50d74ab2d9f7da49d268785 /hooks
parent2439cb0f8a0e0fd496926beff945c05bb04a2c51 (diff)
Fixing pregen script
Diffstat (limited to 'hooks')
-rw-r--r--hooks/pre_gen_project.py2
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)