From 3a5218ab5739957e287f8606a8987fc5721118ea Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Fri, 13 Jul 2018 10:32:06 -0600 Subject: Fixing pregen script --- hooks/pre_gen_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3