Don't require wet or solid when generating fake data

This commit is contained in:
Christopher Charbonneau Wells 2022-04-08 19:43:40 -07:00
parent 123a0192ce
commit 4916a810e0
1 changed files with 0 additions and 2 deletions

View File

@ -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))