aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)