From 4916a810e03c5459826fd898beb7cdfe71bfcb0c Mon Sep 17 00:00:00 2001 From: Christopher Charbonneau Wells <10456740+cdubz@users.noreply.github.com> Date: Fri, 8 Apr 2022 19:43:40 -0700 Subject: [PATCH] Don't require wet or solid when generating fake data --- babybuddy/management/commands/fake.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/babybuddy/management/commands/fake.py b/babybuddy/management/commands/fake.py index 4802eb0b..265fb3d4 100644 --- a/babybuddy/management/commands/fake.py +++ b/babybuddy/management/commands/fake.py @@ -159,8 +159,6 @@ class Command(BaseCommand): color = "" if solid: color = choice(models.DiaperChange._meta.get_field("color").choices)[0] - if not wet and not solid: - wet = True amount = Decimal("%d.%d" % (randint(0, 6), randint(1, 9))) time = self.time + timedelta(minutes=randint(1, 60))