Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Make generator aware of USA names

Peter van der Doese0fa3e000ba2
diff --git a/extras/dummy_generator/generator.py b/extras/dummy_generator/generator.py
index 10fa17ab9..0f98ff43b 100644
--- a/extras/dummy_generator/generator.py
+++ b/extras/dummy_generator/generator.py
@@ -80,7 +80,7 @@ user_parser.add_argument('--country',
action='store',
default='germany',
help='What country the generated users should belong to. Default: Germany',
- choices=['germany', 'ukraine', 'spain'])
+ choices=['germany', 'ukraine', 'spain', 'usa'])
# Workout options
workouts_parser = subparsers.add_parser('workouts', help='Create workouts')
@@ -452,7 +452,7 @@ if hasattr(args, 'number_nutrition_plans'):
# Total meals per plan
total_meals = 4
-
+
for user in userlist:
print(' - generating for {0}'.format(user.username))