Fixes option checking in initdb management command

This commit is contained in:
Mouse Reeve 2022-01-22 15:09:30 -08:00
parent b35efb6eab
commit 67c3091aa1

View file

@ -164,7 +164,7 @@ class Command(BaseCommand):
"settings",
"linkdomain",
]
if limit not in tables:
if limit and limit not in tables:
raise Exception("Invalid table limit:", limit)
if not limit or limit == "group":